tunnelvisionlabs / antlr4

The highly-optimized fork of ANTLR 4 (see README)
Other
73 stars 12 forks source link

Alt label completion analysis does not consider baseContext #44

Open sharwell opened 5 years ago

sharwell commented 5 years ago
expression
  : ID # alt1
  ;

expression2 // expected error (too few alt labels)
options { baseContext = expression; }
  : ID
  ;

ID : [a-z]+;