Let say there are 5 non-terminal symbols: nt_1 nt_2 nt_3 nt_4 nt_5
In nt_5, I want to use every other non-terminal except nt_2. For this I have to write like: nt_5: /* empty */ { ... } | nt_5 nt_1 { ... } | nt_5 nt_3 { ... } | nt_5 nt_4 { ... } ; Now my question is that, is there any way by which I can negate nt_2 while creating nt_5 ? _______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison