blob: 469b0d6b1612aa08e074cf8174c781e97b353d72 (
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
|
%{
%}
#include string.tin
%start smoothsend
%token ANGLE_
%token FUNCTION_
%token LOCK_
%token RADIUS_
%token RADIUSMINOR_
%token SIGMA_
%token SIGMAMINOR_
%%
smoothsend : {ProcessSendCmdYesNo smooth view}
| LOCK_ {ProcessSendCmdYesNo smooth lock}
| FUNCTION_ {ProcessSendCmdGet smooth function}
| RADIUS_ {ProcessSendCmdGet smooth radius}
| RADIUSMINOR_ {ProcessSendCmdGet smooth radius,minor}
| SIGMA_ {ProcessSendCmdGet smooth sigma}
| SIGMAMINOR_ {ProcessSendCmdGet smooth sigma,minor}
| ANGLE_ {ProcessSendCmdGet smooth angle}
;
%%
proc smoothsend::yyerror {msg} {
variable yycnt
variable yy_current_buffer
variable index_
ParserError $msg $yycnt $yy_current_buffer $index_
}
|