1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

add missing space for goto statement

This commit is contained in:
Kevin Glynn 2011-07-12 15:29:29 +02:00
parent 831dfab86b
commit 7104c56382

View File

@ -1555,7 +1555,7 @@ jump_statement:
| ^('return' expression?) -> return(exp = { $expression.st })
| ^('throw' expression?) -> throw(exp = { $expression.st });
goto_statement:
'goto' ( identifier -> op(op={"goto"}, post={$identifier.st})
'goto' ( identifier -> op(op={"goto"}, post={$identifier.st}, space={" "})
| 'case' constant_expression -> op(op={"goto case"}, post={$constant_expression.st})
| 'default' -> string(payload={"goto default"}) ) ';' ;
catch_clauses: