aboutsummaryrefslogtreecommitdiff
path: root/runtime/Python/tests/t040bug80.g
blob: bdf610bcbb3dcedf2d5a1d519a6e9437baa17d4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
lexer grammar t040bug80; 
options {
  language = Python;
}
 
ID_LIKE
    : 'defined' 
    | {False}? Identifier 
    | Identifier 
    ; 
 
fragment 
Identifier: 'a'..'z'+ ; // with just 'a', output compiles