fredyvonvinet / ANTLR4-Plugins-for-NetBeans

NetBeans plugins for ANTLR 4 enabling to integrate ANTLR grammar files in standard NetBeans projects (ant-based or Maven-based).
9 stars 11 forks source link

Plugin errors on semantic predicate options #63

Open sgparry opened 6 years ago

sgparry commented 6 years ago

Semantic predicates with fail options, e.g.:

ints[int max]
locals [int i=1]
: INT ( ',' {$i++;} {$i<=$max}?<fail={"exceeded max "+$max}> INT )*
;

are treated as syntax errors by the plugin.