mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 08:48:55 +00:00
[263773] Support parameterized entry rules
This commit is contained in:
parent
8e1ed7da86
commit
039a7764c3
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue