blob: 42ab3ccabd8571dbd21af8ca588465cbed35063b (
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
|
%{
%}
#include def.tin
#include font.tin
%start colorbarsend
%token LOCK_
%token NUMERICS_
%token ORIENTATION_
%token SIZE_
%token SPACE_
%token TICKS_
%token VALUE_
%%
colorbarsend : {ProcessSendCmdYesNo view colorbar}
| LOCK_ {ProcessSendCmdYesNo colorbar lock}
| ORIENTATION_ {ProcessSendCmdGet colorbar orientation}
| NUMERICS_ {ProcessSendCmdYesNo colorbar numerics}
| SPACE_ {ColorbarSendCmdSpace}
| FONT_ {ProcessSendCmdGet colorbar font}
| FONTSIZE_ {ProcessSendCmdGet colorbar font,size}
| FONTWEIGHT_ {ProcessSendCmdGet colorbar font,weight}
| FONTSLANT_ {ProcessSendCmdGet colorbar font,slant}
# backward compatibility
| FONTSTYLE_ {ProcessSendCmdGet colorbar font,weight}
| SIZE_ {ProcessSendCmdGet colorbar size}
| TICKS_ {ProcessSendCmdGet colorbar ticks}
;
%%
proc colorbarsend::yyerror {msg} {
variable yycnt
variable yy_current_buffer
variable index_
ParserError $msg $yycnt $yy_current_buffer $index_
}
|