diff options
Diffstat (limited to 'ds9/parsers/masksendparser.tac')
-rw-r--r-- | ds9/parsers/masksendparser.tac | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ds9/parsers/masksendparser.tac b/ds9/parsers/masksendparser.tac new file mode 100644 index 0000000..3feb109 --- /dev/null +++ b/ds9/parsers/masksendparser.tac @@ -0,0 +1,25 @@ +%{ +%} + +%start masksend + +%token COLOR_ +%token MARK_ +%token TRANSPARENCY_ + +%% + +masksend : COLOR_ {ProcessSendCmdGet mask color} + | MARK_ {ProcessSendCmdGet mask mark} + | TRANSPARENCY_ {ProcessSendCmdGet mask transparency} + ; + +%% + +proc masksend::yyerror {msg} { + variable yycnt + variable yy_current_buffer + variable index_ + + ParserError $msg $yycnt $yy_current_buffer $index_ +} |