summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/dssesoparser.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/dssesoparser.tac
parent940a6d667b513c4a12a2f6d1cea6e3ec534daf2b (diff)
downloadblt-98dc441e09b534baa68f8ca36ce60735db5dacfc.zip
blt-98dc441e09b534baa68f8ca36ce60735db5dacfc.tar.gz
blt-98dc441e09b534baa68f8ca36ce60735db5dacfc.tar.bz2
update ds9 parsers
Diffstat (limited to 'ds9/parsers/dssesoparser.tac')
-rw-r--r--ds9/parsers/dssesoparser.tac18
1 files changed, 9 insertions, 9 deletions
diff --git a/ds9/parsers/dssesoparser.tac b/ds9/parsers/dssesoparser.tac
index c51517a..99620b0 100644
--- a/ds9/parsers/dssesoparser.tac
+++ b/ds9/parsers/dssesoparser.tac
@@ -26,22 +26,22 @@ command : dsseso
dsseso : {IMGSVRApply deso 1}
| OPEN_ {}
| CLOSE_ {ARDestroy deso}
- | STRING_ {IMGSVRCmdName deso $1}
- | numeric numeric coordOpt {IMGSVRCmdCoord deso $1 $2 degrees}
- | SEXSTR_ SEXSTR_ coordOpt {IMGSVRCmdCoord deso $1 $2 sexagesimal}
+ | STRING_ {IMGSVRCmd deso name $1}
+ | NAME_ STRING_ {IMGSVRCmd deso name $2}
| SIZE_ numeric numeric sizeOpt {IMGSVRCmdSize deso $2 $3 $4}
- | SAVE_ yesno {IMGSVRCmdSave deso $2}
- | FRAME_ frame {IMGSVRCmdMode deso $2}
- | SURVEY_ survey {IMGSVRCmdSurvey deso $2}
+ | SAVE_ yesno {IMGSVRCmd deso save $2}
+ | FRAME_ frame {IMGSVRCmd deso mode $2}
+ | SURVEY_ survey {IMGSVRCmd deso survey $2}
| UPDATE_ update
+ | numeric numeric coordOpt {IMGSVRCmdCoord deso $1 $2 degrees}
+ | SEXSTR_ SEXSTR_ coordOpt {IMGSVRCmdCoord deso $1 $2 sexagesimal}
| COORD_ numeric numeric deg {IMGSVRCmdCoord deso $2 $3 $4}
| COORD_ SEXSTR_ SEXSTR_ sex {IMGSVRCmdCoord deso $2 $3 $4}
- | NAME_ STRING_ {IMGSVRCmdName deso $2}
;
-update : FRAME_ {IMGSVRCmdUpdateFrame deso}
- | CROSSHAIR_ {IMGSVRCmdUpdateCrosshair deso}
+update : FRAME_ {IMGSVRCmdUpdate deso}
+ | CROSSHAIR_ {IMGSVRCmdCrosshair deso}
;
survey : DSS1_ {set _ DSS1}