forked from jasder/antlr
Fix incorrect interpretation of test ListLabelForClosureContext
This commit is contained in:
parent
ae52f2708a
commit
131599af1a
|
@ -26,7 +26,7 @@ grammar(grammarName) ::= <<
|
|||
grammar <grammarName>;
|
||||
ifStatement
|
||||
@after {
|
||||
<DeclareLocal("items","$ctx.elseIfStatement()")>
|
||||
<DeclareListLocal("items","$ctx.elseIfStatement()")>
|
||||
}
|
||||
: 'if' expression
|
||||
( ( 'then'
|
||||
|
|
|
@ -158,6 +158,8 @@ Concat(a,b) ::= "<a><b>"
|
|||
|
||||
DeclareLocal(s,v) ::= "Object <s> = <v>;"
|
||||
|
||||
DeclareListLocal(s,v) ::= "List <s> = <v>;"
|
||||
|
||||
AssignLocal(s,v) ::= "<s> = <v>;"
|
||||
|
||||
InitIntMember(n,v) ::= <%int <n> = <v>;%>
|
||||
|
|
Loading…
Reference in New Issue