summaryrefslogtreecommitdiffstats
path: root/ds9/parsers
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-06-08 17:59:21 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-06-08 17:59:21 (GMT)
commit8fe9a25bafd93b4cb1ac7b07b486330c750b834b (patch)
tree280354081c79353aead90d8e4b904ac190afb1a4 /ds9/parsers
parentedd6f0fce01d36b3e91f8a847d640a42416f6936 (diff)
downloadblt-8fe9a25bafd93b4cb1ac7b07b486330c750b834b.zip
blt-8fe9a25bafd93b4cb1ac7b07b486330c750b834b.tar.gz
blt-8fe9a25bafd93b4cb1ac7b07b486330c750b834b.tar.bz2
update ds9 parsers
Diffstat (limited to 'ds9/parsers')
-rw-r--r--ds9/parsers/cubelex.fcl2
-rw-r--r--ds9/parsers/cubeparser.tac5
2 files changed, 4 insertions, 3 deletions
diff --git a/ds9/parsers/cubelex.fcl b/ds9/parsers/cubelex.fcl
index 12d26bb..cff9436 100644
--- a/ds9/parsers/cubelex.fcl
+++ b/ds9/parsers/cubelex.fcl
@@ -11,6 +11,7 @@ axis {return $AXIS_}
axes {return $AXES_}
close {return $CLOSE_}
first {return $FIRST_}
+image {return $IMAGE_}
interval {return $INTERVAL_}
last {return $LAST_}
lock {return $LOCK_}
@@ -30,7 +31,6 @@ stop {return $STOP_}
312 {return $312_}
321 {return $321_}
-#include coordsys.fin
#include wcssys.fin
#include yesno.fin
#include numeric.fin
diff --git a/ds9/parsers/cubeparser.tac b/ds9/parsers/cubeparser.tac
index 671bbc4..4854546 100644
--- a/ds9/parsers/cubeparser.tac
+++ b/ds9/parsers/cubeparser.tac
@@ -1,7 +1,6 @@
%{
%}
-#include coordsys.tin
#include wcssys.tin
#include yesno.tin
#include numeric.tin
@@ -14,6 +13,7 @@
%token CLOSE_
%token FIRST_
%token INTERVAL_
+%token IMAGE_
%token LAST_
%token LOCK_
%token MATCH_
@@ -34,7 +34,6 @@
%%
-#include coordsys.trl
#include wcssys.trl
#include yesno.trl
#include numeric.trl
@@ -51,6 +50,8 @@ cube : OPEN_
| STOP_ {CubeStop}
| NEXT_ {CubeNext}
| PREV_ {CubePrev}
+ | FIRST_ {CubeFirst}
+ | LAST_ {CubeLast}
| INTERVAL_ numeric {ProcessCmdSet cube interval [expr int($2*1000)]}
| AXIS_ INT_ {ProcessCmdSet cube axis [expr $2-1]}
| AXES_ order