diff options
Diffstat (limited to 'ds9/parsers/prefssendparser.tac')
-rw-r--r-- | ds9/parsers/prefssendparser.tac | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ds9/parsers/prefssendparser.tac b/ds9/parsers/prefssendparser.tac new file mode 100644 index 0000000..5c5c761 --- /dev/null +++ b/ds9/parsers/prefssendparser.tac @@ -0,0 +1,29 @@ +%{ +%} + +%start prefssend + +%token BGCOLOR_ +%token IRAFALIGN_ +%token NANCOLOR_ +%token PRECISION_ +%token THREADS_ + +%% + +prefssend : PRECISION_ {ProcessSendCmdGet6 pds9 prec,linear prec,deg prec,hms prec,dms prec,arcmin prec,arcsec} + | BGCOLOR_ {ProcessSendCmdGet pds9 bg} + | NANCOLOR_ {ProcessSendCmdGet pds9 nan} + | THREADS_ {ProcessSendCmdGet ds9 threads} + | IRAFALIGN_ {ProcessSendCmdYesNo pds9 iraf} + ; + +%% + +proc prefssend::yyerror {msg} { + variable yycnt + variable yy_current_buffer + variable index_ + + ParserError $msg $yycnt $yy_current_buffer $index_ +} |