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

<assoc=right> flagged as error #49

Open sgparry opened 6 years ago

sgparry commented 6 years ago

If I include | in my grammar, the plugin flags it as an error.

sgparry commented 6 years ago

This seems to come from a relatively recent change in the ANTLR4 grammar - the right associative tag now has to be placed immediately after the alernative symbol.

sgparry commented 6 years ago

Posted pull request with fix.