forked from jasder/antlr
Merge pull request #1403 from sharwell/fix-1402
Fix failure to identify prefix rules that also recurse
This commit is contained in:
commit
178f956b1f
|
@ -127,7 +127,7 @@ binary
|
|||
|
||||
prefix
|
||||
: ^( ALT elementOptions?
|
||||
({!((CommonTree)input.LT(1)).getText().equals(ruleName)}? element)+
|
||||
element+
|
||||
recurse epsilonElement*
|
||||
)
|
||||
{setAltAssoc((AltAST)$ALT,currentOuterAltNumber);}
|
||||
|
|
Loading…
Reference in New Issue