diff options
Diffstat (limited to 'ds9/parsers/minmaxsendparser.tac')
-rw-r--r-- | ds9/parsers/minmaxsendparser.tac | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ds9/parsers/minmaxsendparser.tac b/ds9/parsers/minmaxsendparser.tac new file mode 100644 index 0000000..21fe269 --- /dev/null +++ b/ds9/parsers/minmaxsendparser.tac @@ -0,0 +1,29 @@ +%{ +%} + +#include numeric.tin +#include string.tin + +%start minmaxsend + +%token INTERVAL_ +%token MODE_ + +%% + +#include numeric.trl + +minmaxsend : {ProcessSendCmdGet minmax mode} + | MODE_ {ProcessSendCmdGet minmax mode} + | INTERVAL_ {ProcessSendCmdGet minmax sample} + ; + +%% + +proc minmaxsend::yyerror {msg} { + variable yycnt + variable yy_current_buffer + variable index_ + + ParserError $msg $yycnt $yy_current_buffer $index_ +} |