summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/smoothsendparser.tac
blob: a44245eafb6df6e9a5e7e471388198a3243df8a8 (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
%{
%}
#include def.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_
}