[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: %prec doesn't seem to work?
From: |
Adam Smalin |
Subject: |
Re: %prec doesn't seem to work? |
Date: |
Wed, 3 Apr 2013 19:49:13 -0400 |
The problem is my bison file having different precedence for '>' '>' than
'>' even though they are right next to eachother its still incorrect to
treat >> the same precedence as >
On Wed, Apr 3, 2013 at 2:28 PM, Hans Aberg <address@hidden> wrote:
> On 3 Apr 2013, at 04:52, Adam Smalin <address@hidden> wrote:
>
> > ... I have no idea how i can fix this without rewriting it all.
>
>
> Have you tried getting the lexer to emit two '>' when it sees a ">>", say
> by using an parenthesis-matching integer count?
>
> Hans
>
>
>
- Re: %prec doesn't seem to work?, Akim Demaille, 2013/04/02
- 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
- Re: %prec doesn't seem to work?, Akim Demaille, 2013/04/05
- Re: %prec doesn't seem to work?, Adam Smalin, 2013/04/05