[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: %prec doesn't seem to work?
From: |
Hans Aberg |
Subject: |
Re: %prec doesn't seem to work? |
Date: |
Thu, 4 Apr 2013 10:07:39 +0200 |
On 4 Apr 2013, at 01:49, Adam Smalin <address@hidden> wrote:
> 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 >
It will be fixed by the lexer, so the precedence problem will not appear.
> 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