diff options
Diffstat (limited to 'ds9/parsers/rotateparser.tac')
-rw-r--r-- | ds9/parsers/rotateparser.tac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ds9/parsers/rotateparser.tac b/ds9/parsers/rotateparser.tac index 1a02632..f386e56 100644 --- a/ds9/parsers/rotateparser.tac +++ b/ds9/parsers/rotateparser.tac @@ -16,7 +16,7 @@ #include numeric.trl command : rotate - | rotate {yyclearin; YYACCEPT} STRING_ + | rotate {global ds9; if {!$ds9(init)} {YYERROR} else {yyclearin; YYACCEPT}} STRING_ ; rotate : numeric {Rotate $1} |