summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/cropparser.tac
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-05-07 20:14:43 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-05-07 20:14:43 (GMT)
commita69ff077638728f9650222acf7b688776610b8ec (patch)
treebbd7be5acc3dbd5f95c2c03b05fd384541457b71 /ds9/parsers/cropparser.tac
parent6b10755f738435f17e8b28139fbce26fa5bba970 (diff)
downloadblt-a69ff077638728f9650222acf7b688776610b8ec.zip
blt-a69ff077638728f9650222acf7b688776610b8ec.tar.gz
blt-a69ff077638728f9650222acf7b688776610b8ec.tar.bz2
add ds9 frame parser
Diffstat (limited to 'ds9/parsers/cropparser.tac')
-rw-r--r--ds9/parsers/cropparser.tac8
1 files changed, 1 insertions, 7 deletions
diff --git a/ds9/parsers/cropparser.tac b/ds9/parsers/cropparser.tac
index 9f5baa1..001c11d 100644
--- a/ds9/parsers/cropparser.tac
+++ b/ds9/parsers/cropparser.tac
@@ -11,7 +11,6 @@
%token CLOSE_
%token LOCK_
%token MATCH_
-%token NONE_
%token OPEN_
%token RESET_
@@ -27,7 +26,7 @@ command : crop
crop : OPEN_ {CropDialog}
| CLOSE_ {CropDestroyDialog}
| MATCH_ match {MatchCropCurrent $2}
- | LOCK_ lock {CropCmdSet lock $2 LockCropCurrent}
+ | LOCK_ coordnone {CropCmdSet lock $2 LockCropCurrent}
| RESET_ {CropReset}
| 3D_ 3d
@@ -54,11 +53,6 @@ match : coordsys {set _ $1}
| wcssys {set _ $1}
;
-lock : coordsys {set _ $1}
- | wcssys {set _ $1}
- | NONE_ {set _ none}
- ;
-
3d : numeric numeric {global current; $current(frame) crop 3d $1 $2 image}
| numeric numeric coordsys {global current; $current(frame) crop 3d $1 $2 $3}
| numeric numeric wcssys {global current; $current(frame) crop 3d $1 $2 $3}