summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/blinksendparser.tac
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-06-08 19:19:26 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-06-08 19:19:26 (GMT)
commit82c78868be2567fc0399379497288892fc6d0506 (patch)
tree8afa577ad71dd2c2b8ca6fbc526728142e83ce31 /ds9/parsers/blinksendparser.tac
parent7f05adf25227fd956f5fb194fcfc4e82cf82135d (diff)
downloadblt-82c78868be2567fc0399379497288892fc6d0506.zip
blt-82c78868be2567fc0399379497288892fc6d0506.tar.gz
blt-82c78868be2567fc0399379497288892fc6d0506.tar.bz2
add ds9 blink send parser
Diffstat (limited to 'ds9/parsers/blinksendparser.tac')
-rw-r--r--ds9/parsers/blinksendparser.tac22
1 files changed, 22 insertions, 0 deletions
diff --git a/ds9/parsers/blinksendparser.tac b/ds9/parsers/blinksendparser.tac
new file mode 100644
index 0000000..2b02b3c
--- /dev/null
+++ b/ds9/parsers/blinksendparser.tac
@@ -0,0 +1,22 @@
+%{
+%}
+
+%start blinksend
+
+%token INTERVAL_
+
+%%
+
+blinksend : {BlinkSendCmd}
+ | INTERVAL_ {BlinkSendCmdInterval}
+ ;
+
+%%
+
+proc blinksend::yyerror {msg} {
+ variable yycnt
+ variable yy_current_buffer
+ variable index_
+
+ ParserError $msg $yycnt $yy_current_buffer $index_
+}