error(202): ../org.xtext.example.mydsl/src-gen/org/xtext/example/mydsl/parser/antlr/internal/InternalMyDsl.g:286:3: the decision cannot distinguish between alternative(s) 1,2 for input such as "RULE_ID EOF EOF"
grammar org.xtext.example.mydsl.MyDsl with org.eclipse.xtext.common.Terminals
generate myDsl "http://www.xtext.org/example/mydsl/MyDsl"
Model:
(elements+=Enumeration)*
;
Enumeration:
{Enumeration}
'Enumeration' name=ID '{'
(encoding=Encoding)
'}'
;
Encoding:
{Encoding}
Annotations
name=ID
;
fragment Annotations *:
(annotations+=Annotation)*
;
Annotation:
{Annotation}
'@'(name=ID)?
;