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