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/cursorparser.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/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} |