summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/panlex.fcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-03-01 19:11:07 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-03-01 19:11:07 (GMT)
commit88233512265280fd373a68e890599090f8ebb524 (patch)
tree7dc427469e91997ced5bd77145c860f1d86240af /ds9/parsers/panlex.fcl
parentf0494107d510409a45df1dfb556144abb50716ab (diff)
downloadblt-88233512265280fd373a68e890599090f8ebb524.zip
blt-88233512265280fd373a68e890599090f8ebb524.tar.gz
blt-88233512265280fd373a68e890599090f8ebb524.tar.bz2
add ds9 pan parser
Diffstat (limited to 'ds9/parsers/panlex.fcl')
-rw-r--r--ds9/parsers/panlex.fcl6
1 files changed, 5 insertions, 1 deletions
diff --git a/ds9/parsers/panlex.fcl b/ds9/parsers/panlex.fcl
index 351de9e..18c5115 100644
--- a/ds9/parsers/panlex.fcl
+++ b/ds9/parsers/panlex.fcl
@@ -15,7 +15,8 @@ E [Ee][+-]?{D}+
%%
--zscale {return $pan::CMD_}
+-zscale {return $pan::CMD_}
+-zoom {return $pan::CMD_}
close {return $pan::CLOSE_}
open {return $pan::OPEN_}
@@ -89,6 +90,9 @@ ecliptic {return $pan::ECLIPTIC_}
# Quoted STRING
\{[^\}]*\} {set pan::yylval [string range $yytext 1 end-1]; return $pan::STRING_}
+# CMD
+#-\S+\S+ {set pan::yylval $yytext; return $pan::CMD_}
+
# STRING
\S+\S+ {set pan::yylval $yytext; return $pan::STRING_}