Home | History | Annotate | Download | only in functional
      1 lexer grammar t040bug80; 
      2 options {
      3   language = JavaScript;
      4 }
      5  
      6 ID_LIKE
      7     : 'defined' 
      8     | {false}? Identifier 
      9     | Identifier 
     10     ; 
     11  
     12 fragment 
     13 Identifier: 'a'..'z'+ ; // with just 'a', output compiles 
     14