diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-06-06 18:07:24 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-06-06 18:07:24 (GMT) |
commit | 8e62e66228010ae69109692ecf8ddeba4bfc979f (patch) | |
tree | ffdc35c19d69fe337fd94526b711e8987d363bc9 /ds9/parsers/nvssparser.tac | |
parent | 2a954e3b3b7fa383a1f4ccd3c0f97118097a1e19 (diff) | |
download | blt-8e62e66228010ae69109692ecf8ddeba4bfc979f.zip blt-8e62e66228010ae69109692ecf8ddeba4bfc979f.tar.gz blt-8e62e66228010ae69109692ecf8ddeba4bfc979f.tar.bz2 |
update ds9 parsers
Diffstat (limited to 'ds9/parsers/nvssparser.tac')
-rw-r--r-- | ds9/parsers/nvssparser.tac | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/ds9/parsers/nvssparser.tac b/ds9/parsers/nvssparser.tac index 7230380..a175acf 100644 --- a/ds9/parsers/nvssparser.tac +++ b/ds9/parsers/nvssparser.tac @@ -23,17 +23,20 @@ command : nvss nvss : {IMGSVRApply dnvss 1} | OPEN_ {} | CLOSE_ {ARDestroy dnvss} - | STRING_ {IMGSVRCmdName dnvss $1} - | NAME_ STRING_ {IMGSVRCmdName dnvss $2} - | SIZE_ numeric numeric sizeOpt {IMGSVRCmdSize dnvss $2 $3 $4} - | SAVE_ yesno {IMGSVRCmd dnvss save $2} - | FRAME_ frame {IMGSVRCmd dnvss mode $2} + | STRING_ {ProcessCmdSet dnvss name $1 "IMGSVRApply dnvss 1"} + | NAME_ CLEAR_ {ProcessCmdSet dnvss name {}} + | NAME_ STRING_ {ProcessCmdSet dnvss name $2 "IMGSVRApply dnvss 1"} + | SIZE_ numeric numeric sizeOpt + {ProcessCmdSet4 dnvss width $2 height $3 rformat $4 rformat,msg $4} + | SAVE_ yesno {ProcessCmdSet dnvss save $2} + | FRAME_ frame {ProcessCmdSet dnvss mode $2} | UPDATE_ update - | numeric numeric coordOpt {IMGSVRCmdCoord dnvss $1 $2 degrees} - | SEXSTR_ SEXSTR_ coordOpt {IMGSVRCmdCoord dnvss $1 $2 sexagesimal} - | COORD_ numeric numeric deg {IMGSVRCmdCoord dnvss $2 $3 $4} - | COORD_ SEXSTR_ SEXSTR_ sex {IMGSVRCmdCoord dnvss $2 $3 $4} + | numeric numeric deg {ProcessCmdSet4 dnvss x $1 y $2 skyformat $3 skyformat,msg $3 "IMGSVRApply dnvss 1"} + | SEXSTR_ SEXSTR_ sex {ProcessCmdSet4 dnvss x $1 y $2 skyformat $3 skyformat,msg $3 "IMGSVRApply dnvss 1"} + # backward compatibility + | COORD_ numeric numeric deg {ProcessCmdSet4 dnvss x $2 y $3 skyformat $4 skyformat,msg $4 "IMGSVRApply dnvss 1"} + | COORD_ SEXSTR_ SEXSTR_ sex {ProcessCmdSet4 dnvss x $2 y $3 skyformat $4 skyformat,msg $4 "IMGSVRApply dnvss 1"} ; update : FRAME_ {IMGSVRCmdUpdate dnvss} |