summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/dsssaosendparser.tac
blob: ecb06d169cc39908e5cf63c3a2ff9c0172a7e30a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
%{
%}
#include def.tin

#include imgsvrsend.tin

%start dsssaosend

%%

dsssaosend : {ProcessSendCmdGet dsao name}
 | NAME_ {ProcessSendCmdGet dsao name}
 | SAVE_ {ProcessSendCmdYesNo dsao save}
 | FRAME_ {ProcessSendCmdGet dsao mode}
 | SIZE_ {ProcessSendCmdGet3 dsao width height rformat}
 | COORD_ {ProcessSendCmdGet3 dsao x y skyformat}
 ;
 
%%

proc dsssaosend::yyerror {msg} {
     variable yycnt
     variable yy_current_buffer
     variable index_
     
     ParserError $msg $yycnt $yy_current_buffer $index_
}