Le 31 mars 2013 à 17:15, Adam Smalin <acidzombi...@gmail.com> a écrit :

> Report what? I was just saying I didn't notice any errors/warnings (I don't 
> remember if I tried to compile all of it) and that I am positive I compiled 
> it right.

Well, IMHO Bison should warn against multiple %prec for a rule,
and arguably warn against weird locations for %prec (and the
other %directives).

> FYI I AM using a glr parser. My first line is %glr-parser

Good.

> Is the code at the bottom the recommended way? I wrote out %left and %right 
> which seemed to resolve all of that.
> My bison file is roughly 1200 so I rather not rewrite it if I don't need to

Have a look at %dprec.
_______________________________________________
help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to