diff options
Diffstat (limited to 'ds9/parsers/enviparser.tac')
-rw-r--r-- | ds9/parsers/enviparser.tac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ds9/parsers/enviparser.tac b/ds9/parsers/enviparser.tac index c58a9ca..27f2b03 100644 --- a/ds9/parsers/enviparser.tac +++ b/ds9/parsers/enviparser.tac @@ -11,7 +11,7 @@ %% command : envi - | envi {yyclearin; YYACCEPT} STRING_ + | envi {global ds9; if {!$ds9(init)} {YYERROR} else {yyclearin; YYACCEPT}} STRING_ ; envi : opts STRING_ {ImportENVIFile $2 [FindENVIDataFile $2]; FinishLoad} |