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