You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
289 B
21 lines
289 B
7 months ago
|
lexer grammar t040bug80;
|
||
|
options {
|
||
|
language =Cpp;
|
||
|
}
|
||
|
|
||
|
@lexer::includes
|
||
|
{
|
||
|
#include "UserTestTraits.hpp"
|
||
|
}
|
||
|
@lexer::namespace
|
||
|
{ Antlr3Test }
|
||
|
|
||
|
ID_LIKE
|
||
|
: 'defined'
|
||
|
| {False}? Identifier
|
||
|
| Identifier
|
||
|
;
|
||
|
|
||
|
fragment
|
||
|
Identifier: 'a'..'z'+ ; // with just 'a', output compiles
|