summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/tileparser.tac
diff options
context:
space:
mode:
Diffstat (limited to 'ds9/parsers/tileparser.tac')
-rw-r--r--ds9/parsers/tileparser.tac2
1 files changed, 1 insertions, 1 deletions
diff --git a/ds9/parsers/tileparser.tac b/ds9/parsers/tileparser.tac
index 7c194c4..67dd750 100644
--- a/ds9/parsers/tileparser.tac
+++ b/ds9/parsers/tileparser.tac
@@ -23,7 +23,7 @@
#include yes-no.trl
command : tile
- | tile {yyclearin; YYACCEPT} STRING_
+ | tile {global ds9; if {!$ds9(init)} {YYERROR} else {yyclearin; YYACCEPT}} STRING_
;
tile: {ProcessCmdSet current display tile DisplayMode}