1lexer grammar t040bug80;
2options {
3  language = Python3;
4}
5
6ID_LIKE
7    : 'defined'
8    | {False}? Identifier
9    | Identifier
10    ;
11
12fragment
13Identifier: 'a'..'z'+ ; // with just 'a', output compiles
14