diff options
Diffstat (limited to 'ds9/parsers/mosaicimagewfpc2parser.tac')
-rw-r--r-- | ds9/parsers/mosaicimagewfpc2parser.tac | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ds9/parsers/mosaicimagewfpc2parser.tac b/ds9/parsers/mosaicimagewfpc2parser.tac index 88030fd..a607419 100644 --- a/ds9/parsers/mosaicimagewfpc2parser.tac +++ b/ds9/parsers/mosaicimagewfpc2parser.tac @@ -6,6 +6,7 @@ %start command +%token MASK_ %token NEW_ %% @@ -14,12 +15,13 @@ command : mosaicimagewfpc2 ; -mosaicimagewfpc2 : opts {MosaicImageWFPC2CmdLoad {}} - | opts STRING_ {MosaicImageWFPC2CmdLoad $2} +mosaicimagewfpc2 : opts {MosaicImageWFPC2CmdLoad {} $1} + | opts STRING_ {MosaicImageWFPC2CmdLoad $2 $1} ; opts : - | NEW_ {CreateFrame} + | NEW_ {CreateFrame; set _ {}} + | MASK_ {set _ mask} ; %% |