summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/photoparser.tac
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-05-09 18:44:05 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-05-09 18:44:05 (GMT)
commit888c5a7dc8199ffdf42f5e58b26fa4863195f0e9 (patch)
treecb1e8e7a5c12fb40737d2308d68dfb33b4690e76 /ds9/parsers/photoparser.tac
parent564e1f08a369740a5b081c0c29d88459c9ae1002 (diff)
downloadblt-888c5a7dc8199ffdf42f5e58b26fa4863195f0e9.zip
blt-888c5a7dc8199ffdf42f5e58b26fa4863195f0e9.tar.gz
blt-888c5a7dc8199ffdf42f5e58b26fa4863195f0e9.tar.bz2
add ds9 envi parser
Diffstat (limited to 'ds9/parsers/photoparser.tac')
-rw-r--r--ds9/parsers/photoparser.tac2
1 files changed, 2 insertions, 0 deletions
diff --git a/ds9/parsers/photoparser.tac b/ds9/parsers/photoparser.tac
index 2cf3dc7..7187e9f 100644
--- a/ds9/parsers/photoparser.tac
+++ b/ds9/parsers/photoparser.tac
@@ -5,6 +5,7 @@
%start command
+%token MASK_
%token NEW_
%token SLICE_
@@ -19,6 +20,7 @@ photo : opts {PhotoCmdLoad {}}
;
opts :
+ | MASK_
| NEW_ {CreateFrame}
| SLICE_ {PhotoCmdSet load,mode slice}
;