1lexer grammar t040bug80;
2options {
3  language =Cpp;
4}
5
6@lexer::includes
7{
8#include "UserTestTraits.hpp"
9}
10@lexer::namespace
11{ Antlr3Test }
12
13ID_LIKE
14    : 'defined'
15    | {False}? Identifier
16    | Identifier
17    ;
18
19fragment
20Identifier: 'a'..'z'+ ; // with just 'a', output compiles
21