diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-11-26 21:18:54 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-11-26 21:18:54 (GMT) |
commit | d4f1f85c0fc142495663fcacdddb9abcd259aa0e (patch) | |
tree | 92ac34466cf5b06d159a7bb23aeb37379feeb70f /ds9/parsers | |
parent | 95844816a714456156ed31854b004d29c3e29dbe (diff) | |
download | blt-d4f1f85c0fc142495663fcacdddb9abcd259aa0e.zip blt-d4f1f85c0fc142495663fcacdddb9abcd259aa0e.tar.gz blt-d4f1f85c0fc142495663fcacdddb9abcd259aa0e.tar.bz2 |
update tcl/tk
Diffstat (limited to 'ds9/parsers')
-rw-r--r-- | ds9/parsers/mosaicimagewfpc2lex.fcl | 1 | ||||
-rw-r--r-- | ds9/parsers/mosaicimagewfpc2parser.tac | 8 |
2 files changed, 6 insertions, 3 deletions
diff --git a/ds9/parsers/mosaicimagewfpc2lex.fcl b/ds9/parsers/mosaicimagewfpc2lex.fcl index bdcec4d..5e875f7 100644 --- a/ds9/parsers/mosaicimagewfpc2lex.fcl +++ b/ds9/parsers/mosaicimagewfpc2lex.fcl @@ -7,6 +7,7 @@ %% +mask {return $MASK_} new {return $NEW_} #include string.fin 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} ; %% |