diff options
Diffstat (limited to 'ds9/parsers/saveimageparser.tac')
-rw-r--r-- | ds9/parsers/saveimageparser.tac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ds9/parsers/saveimageparser.tac b/ds9/parsers/saveimageparser.tac index 890c080..52b4613 100644 --- a/ds9/parsers/saveimageparser.tac +++ b/ds9/parsers/saveimageparser.tac @@ -24,7 +24,7 @@ #include numeric.trl command : saveimage - | saveimage {yyclearin; YYACCEPT} STRING_ + | saveimage {global ds9; if {!$ds9(init)} {YYERROR} else {yyclearin; YYACCEPT}} STRING_ ; saveimage : STRING_ opts {SaveImageCmdLoad [ExtToFormat $1] $1} |