blob: ba0b4c06c96fe909b3cd9a142b242308e89e6c3e (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
%{
%}
%start threedsend
%token AZ_
%token BG_
%token BORDER_
%token COLOR_
%token COMPASS_
%token EL_
%token HIGHLITE_
%token LOCK_
%token METHOD_
%token SCALE_
%token VIEW_
%%
threedsend : AZ_ {ProcessSendCmdGet threed az}
| EL_ {ProcessSendCmdGet threed el}
| VIEW_ {ProcessSendCmdGet2 threed az el}
| SCALE_ {ProcessSendCmdGet threed scale}
| METHOD_ {ProcessSendCmdGet threed method}
| BG_ {ProcessSendCmdGet threed background}
| LOCK_ {ProcessSendCmdYesNo threed lock}
| HIGHLITE_ highlite
| BORDER_ border
| COMPASS_ compass
;
highlite: {ProcessSendCmdYesNo threed highlite}
| COLOR_ {ProcessSendCmdGet threed highlite,color}
;
border: {ProcessSendCmdYesNo threed border}
| COLOR_ {ProcessSendCmdGet threed border,color}
;
compass: {ProcessSendCmdYesNo threed compass}
| COLOR_ {ProcessSendCmdGet threed compass,color}
;
%%
proc threedsend::yyerror {msg} {
variable yycnt
variable yy_current_buffer
variable index_
ParserError $msg $yycnt $yy_current_buffer $index_
}
|