summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/twomasssendparser.tac
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-06-06 15:35:39 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-06-06 15:35:39 (GMT)
commita03f2552f6d9f20d602fc82b139d46fb059c85db (patch)
treeb6d2f35b0f740c02d520d789d643128f1c526ed9 /ds9/parsers/twomasssendparser.tac
parent5e379797126ae52c57fa5fb8e8d3984e6a0a359e (diff)
downloadblt-a03f2552f6d9f20d602fc82b139d46fb059c85db.zip
blt-a03f2552f6d9f20d602fc82b139d46fb059c85db.tar.gz
blt-a03f2552f6d9f20d602fc82b139d46fb059c85db.tar.bz2
add ds9 2mass send parser
Diffstat (limited to 'ds9/parsers/twomasssendparser.tac')
-rw-r--r--ds9/parsers/twomasssendparser.tac28
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_
+}