mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-15 08:18:55 +00:00
changed grammar generator to not render gated semantic predicates
This commit is contained in:
parent
8e1fa55e7d
commit
b3e48838f3
2 changed files with 0 additions and 6 deletions
|
@ -378,7 +378,6 @@ abstract class AbstractAntlrGrammarGenerator {
|
|||
}
|
||||
|
||||
protected dispatch def String ebnf2(GatedSemanticPredicate it, AntlrOptions options, boolean supportActions) '''
|
||||
{«JavaCodeUtils.getSource(code)»}?=>
|
||||
'''
|
||||
|
||||
protected dispatch def String ebnf2(AbstractSemanticPredicate it, AntlrOptions options, boolean supportActions) '''
|
||||
|
|
|
@ -948,11 +948,6 @@ public abstract class AbstractAntlrGrammarGenerator {
|
|||
|
||||
protected String _ebnf2(final GatedSemanticPredicate it, final AntlrOptions options, final boolean supportActions) {
|
||||
StringConcatenation _builder = new StringConcatenation();
|
||||
_builder.append("{");
|
||||
String _source = JavaCodeUtils.getSource(it.getCode());
|
||||
_builder.append(_source);
|
||||
_builder.append("}?=>");
|
||||
_builder.newLineIfNotEmpty();
|
||||
return _builder.toString();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue