diff options
Diffstat (limited to 'ds9/parsers/cursorparser.tac')
-rw-r--r-- | ds9/parsers/cursorparser.tac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ds9/parsers/cursorparser.tac b/ds9/parsers/cursorparser.tac index d3f6552..7252884 100644 --- a/ds9/parsers/cursorparser.tac +++ b/ds9/parsers/cursorparser.tac @@ -10,7 +10,7 @@ %% command : cursor - | cursor {yyclearin; YYACCEPT} STRING_ + | cursor {global ds9; if {!$ds9(init)} {YYERROR} else {yyclearin; YYACCEPT}} STRING_ ; cursor : INT_ INT_ {CursorCmd $1 $2} |