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




reply via email to

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