Community
Participate
Working Groups
When there is a duplicate token in a terminal, there is no error in the .xtext editor, but when generating the grammar, an error is produced with a reference to the InternalMyLexer.g - "duplicate token type '-' when collapsing subrule into set". terminal NAME : '::'? (('0'..'9')|('a'..'z')|('A'..'Z')|'_' | '-' | '-' | '.')+ ('::' (('0'..'9')|('a'..'z')|('A'..'Z')|'_' | '-' | '-' | '.')+)* ;