summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/vlaparser.tac
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-04-10 19:16:44 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-04-10 19:16:44 (GMT)
commit98dc441e09b534baa68f8ca36ce60735db5dacfc (patch)
tree96492ba1921fe7fc155d087a3ae10b7b33f6fa31 /ds9/parsers/vlaparser.tac
parent940a6d667b513c4a12a2f6d1cea6e3ec534daf2b (diff)
downloadblt-98dc441e09b534baa68f8ca36ce60735db5dacfc.zip
blt-98dc441e09b534baa68f8ca36ce60735db5dacfc.tar.gz
blt-98dc441e09b534baa68f8ca36ce60735db5dacfc.tar.bz2
update ds9 parsers
Diffstat (limited to 'ds9/parsers/vlaparser.tac')
-rw-r--r--ds9/parsers/vlaparser.tac18
1 files changed, 9 insertions, 9 deletions
diff --git a/ds9/parsers/vlaparser.tac b/ds9/parsers/vlaparser.tac
index b2a7ca8..fcb5dbf 100644
--- a/ds9/parsers/vlaparser.tac
+++ b/ds9/parsers/vlaparser.tac
@@ -24,22 +24,22 @@ command : vla
vla : {IMGSVRApply dvla 1}
| OPEN_ {}
| CLOSE_ {ARDestroy dvla}
- | STRING_ {IMGSVRCmdName dvla $1}
- | numeric numeric coordOpt {IMGSVRCmdCoord dvla $1 $2 degrees}
- | SEXSTR_ SEXSTR_ coordOpt {IMGSVRCmdCoord dvla $1 $2 sexagesimal}
+ | STRING_ {IMGSVRCmd dvla name $1}
+ | NAME_ STRING_ {IMGSVRCmd dvla name $2}
| SIZE_ numeric numeric sizeOpt {IMGSVRCmdSize dvla $2 $3 $4}
- | SAVE_ yesno {IMGSVRCmdSave dvla $2}
- | FRAME_ frame {IMGSVRCmdMode dvla $2}
- | SURVEY_ survey {IMGSVRCmdSurvey dvla $2}
+ | SAVE_ yesno {IMGSVRCmd dvla save $2}
+ | FRAME_ frame {IMGSVRCmd dvla mode $2}
+ | SURVEY_ survey {IMGSVRCmd dvla survey $2}
| UPDATE_ update
+ | numeric numeric coordOpt {IMGSVRCmdCoord dvla $1 $2 degrees}
+ | SEXSTR_ SEXSTR_ coordOpt {IMGSVRCmdCoord dvla $1 $2 sexagesimal}
| COORD_ numeric numeric deg {IMGSVRCmdCoord dvla $2 $3 $4}
| COORD_ SEXSTR_ SEXSTR_ sex {IMGSVRCmdCoord dvla $2 $3 $4}
- | NAME_ STRING_ {IMGSVRCmdName dvla $2}
;
-update : FRAME_ {IMGSVRCmdUpdateFrame dvla}
- | CROSSHAIR_ {IMGSVRCmdUpdateCrosshair dvla}
+update : FRAME_ {IMGSVRCmdUpdate dvla}
+ | CROSSHAIR_ {IMGSVRCmdCrosshair dvla}
;
survey : STRIPE82_ {set _ stripe82}