diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-10-01 18:23:08 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-10-01 18:23:08 (GMT) |
commit | c7875abc11890d5246a09c2bc8fe30bacb4846ab (patch) | |
tree | ff2dfb0ac07ca4c216f26e0d0773932f3436ac70 /ds9/parsers/rgbparser.tac | |
parent | 5130749bcb63ad668268d6a2c314193df575da35 (diff) | |
download | blt-c7875abc11890d5246a09c2bc8fe30bacb4846ab.zip blt-c7875abc11890d5246a09c2bc8fe30bacb4846ab.tar.gz blt-c7875abc11890d5246a09c2bc8fe30bacb4846ab.tar.bz2 |
minor fix for XPA errors
Diffstat (limited to 'ds9/parsers/rgbparser.tac')
-rw-r--r-- | ds9/parsers/rgbparser.tac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ds9/parsers/rgbparser.tac b/ds9/parsers/rgbparser.tac index 7b4171e..72bc889 100644 --- a/ds9/parsers/rgbparser.tac +++ b/ds9/parsers/rgbparser.tac @@ -33,7 +33,7 @@ #include yesno.trl command : rgb - | rgb {yyclearin; YYACCEPT} STRING_ + | rgb {global ds9; if {!$ds9(init)} {YYERROR} else {yyclearin; YYACCEPT}} STRING_ ; rgb : {CreateRGBFrame} |