diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-06-13 17:19:10 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-06-13 17:19:10 (GMT) |
commit | 4ea9be66298b2f33f90fee95f078a1c9eb49a0f3 (patch) | |
tree | 4af6881e88c390a4c5ae341f5a55fd42515fff90 /ds9/parsers/siaparser.tac | |
parent | 3f1ae1680574d28ef25414c21cde23d1ec78e4a3 (diff) | |
download | blt-4ea9be66298b2f33f90fee95f078a1c9eb49a0f3.zip blt-4ea9be66298b2f33f90fee95f078a1c9eb49a0f3.tar.gz blt-4ea9be66298b2f33f90fee95f078a1c9eb49a0f3.tar.bz2 |
update ds9 parsers
Diffstat (limited to 'ds9/parsers/siaparser.tac')
-rw-r--r-- | ds9/parsers/siaparser.tac | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ds9/parsers/siaparser.tac b/ds9/parsers/siaparser.tac index d0e75a4..248dbd0 100644 --- a/ds9/parsers/siaparser.tac +++ b/ds9/parsers/siaparser.tac @@ -60,15 +60,15 @@ sia : {if {![SIACmdCheck]} {sia::YYABORT}} siaCmd | site {SIACmdRef $1} siaCmd ; -siaCmd : CANCEL_ {global cvarname; ARCancel $cvarname} - | CLOSE_ {global cvarname; SIADestroy $cvarname} - | CLEAR_ {global cvarname; SIAOff $cvarname} +siaCmd : CANCEL_ {ProcessCmdCVAR0 ARCancel} + | CLOSE_ {ProcessCmdCVAR0 SIADestroy} + | CLEAR_ {ProcessCmdCVAR0 SIAOff} | COORDINATE_ coordinate - | CROSSHAIR_ {global cvarname; IMGSVRCrosshair $cvarname} + | CROSSHAIR_ {ProcessCmdCVAR0 IMGSVRCrosshair} | EXPORT_ writer STRING_ {SIACmdSave $3 $2} | SAVE_ STRING_ {SIACmdSave $2 VOTWrite} | NAME_ STRING_ {ProcessCmdCVAR name $2} - | PRINT_ {global cvarname; CATPrint $cvarname} + | PRINT_ {ProcessCmdCVAR0 CATPrint} | RETRIEVE_ {global cvarname; SIAApply $cvarname 1} | RADIUS_ numeric rformat {SIACmdSize $2 $3} # backward compatibily @@ -76,7 +76,7 @@ siaCmd : CANCEL_ {global cvarname; ARCancel $cvarname} | SKY_ skyframe {SIACmdSkyframe $2} | SKYFORMAT_ skyformat {ProcessCmdCVAR skyformat $2} | SYSTEM_ wcssys {SIACmdSystem $2} - | UPDATE_ {global cvarname; IMGSVRUpdate $cvarname} + | UPDATE_ {ProcessCVAR0 IMGSVRUpdate} ; coordinate : numeric numeric {SIACmdCoord $1 $2 fk5} |