diff options
Diffstat (limited to 'ds9/parsers/webparser.tac')
-rw-r--r-- | ds9/parsers/webparser.tac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ds9/parsers/webparser.tac b/ds9/parsers/webparser.tac index 2be631f..8939480 100644 --- a/ds9/parsers/webparser.tac +++ b/ds9/parsers/webparser.tac @@ -27,8 +27,8 @@ web : {WebCmdNew {}} | STRING_ {WebCmdNew $1} | NEW_ STRING_ STRING_ {WebCmdNew $3 $2} - | {WebCmdCheck} webCmd - | STRING_ {WebCmdRef $1} webCmd + | {if {![WebCmdCheck]} {web::YYABORT}} webCmd + | STRING_ {if {![WebCmdRef $1]} {web::YYABORT}} webCmd ; webCmd : CLICK_ click |