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/saveparser.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/saveparser.tac')
-rw-r--r-- | ds9/parsers/saveparser.tac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ds9/parsers/saveparser.tac b/ds9/parsers/saveparser.tac index f75d51c..9fef177 100644 --- a/ds9/parsers/saveparser.tac +++ b/ds9/parsers/saveparser.tac @@ -24,7 +24,7 @@ %% command : save - | save {yyclearin; YYACCEPT} STRING_ + | save {global ds9; if {!$ds9(init)} {YYERROR} else {yyclearin; YYACCEPT}} STRING_ ; save : STRING_ opts {SaveCmdLoad [ExtToFormat $1] $1} |