diff options
Diffstat (limited to 'ds9/parsers/twomasssendparser.tac')
-rw-r--r-- | ds9/parsers/twomasssendparser.tac | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ds9/parsers/twomasssendparser.tac b/ds9/parsers/twomasssendparser.tac new file mode 100644 index 0000000..0c8abe4 --- /dev/null +++ b/ds9/parsers/twomasssendparser.tac @@ -0,0 +1,28 @@ +%{ +%} + +#include imgsvr.tin +#include string.tin + +%start twomasssend + +%% + +twomasssend : {ProcessSendCmdGet dtwomass name} + | NAME_ {ProcessSendCmdGet dtwomass name} + | SAVE_ {ProcessSendCmdYesNo dtwomass save} + | FRAME_ {ProcessSendCmdGet dtwomass mode} + | SURVEY_ {ProcessSendCmdGet dtwomass survey} + | SIZE_ {ProcessSendCmdGet3 dtwomass width height rformat} + | COORD_ {ProcessSendCmdGet3 dtwomass x y skyformat} + ; + +%% + +proc twomasssend::yyerror {msg} { + variable yycnt + variable yy_current_buffer + variable index_ + + ParserError $msg $yycnt $yy_current_buffer $index_ +} |