help-bison
[Top][All Lists]
Advanced

[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
>
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]