[263773] Support parameterized entry rules

This commit is contained in:
Sebastian Zarnekow 2015-08-19 16:37:59 +02:00
parent 8e1ed7da86
commit 039a7764c3

View file

@ -576,7 +576,7 @@ public abstract class AbstractInternalAntlrParser extends Parser {
private String normalizeEntryRuleName(String entryRuleName) {
String antlrEntryRuleName;
if (!entryRuleName.startsWith("entryRule")) {
if (!entryRuleName.startsWith("entryRule") && !entryRuleName.startsWith("entryNorm")) {
if (!entryRuleName.startsWith("rule")) {
antlrEntryRuleName = "entryRule" + entryRuleName;
} else {