[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: %prec doesn't seem to work?
From: |
Akim Demaille |
Subject: |
Re: %prec doesn't seem to work? |
Date: |
Tue, 2 Apr 2013 09:18:10 +0200 |
Le 31 mars 2013 à 17:15, Adam Smalin <address@hidden> 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.
- Re: %prec doesn't seem to work?,
Akim Demaille <=
- Re: %prec doesn't seem to work?, Adam Smalin, 2013/04/02
- Re: %prec doesn't seem to work?, Akim Demaille, 2013/04/03
- Re: %prec doesn't seem to work?, Hans Aberg, 2013/04/03
- Re: %prec doesn't seem to work?, Akim Demaille, 2013/04/04
- Re: %prec doesn't seem to work?, Hans Aberg, 2013/04/04
- Re: %prec doesn't seem to work?, Adam Smalin, 2013/04/04