[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to change default outcome of shift/reduce conflict?
From: |
Scott Raney |
Subject: |
Re: How to change default outcome of shift/reduce conflict? |
Date: |
Thu, 17 Jan 2002 15:10:21 -0700 (MST) |
On Thu, 17 Jan 2002, Hans Aberg wrote:
> At 13:56 -0700 2002/01/16, Scott Raney wrote:
> >Hey, and that's an easy one. Wait until you get to "the number of
> >card", at which point the next token could be "button", at which point
> >"number" is a property, or "buttons", at which point it's a function.
>
> I am not sure why this would be a problem, because the Bison parser selects
> the rule based on a one lookahead token.
That's my point: the required lookahead in the case of "number" is 3,
not 1.
Regards,
Scott
> Hans Aberg
>
>
********************************************************
Scott Raney address@hidden http://www.metacard.com
MetaCard: You know, there's an easier way to do that...
Re: How to change default outcome of shift/reduce conflict?, Hans Aberg, 2002/01/15
Re: How to change default outcome of shift/reduce conflict?, Hans Aberg, 2002/01/15
Re: How to change default outcome of shift/reduce conflict?, Scott Raney, 2002/01/16
Re: How to change default outcome of shift/reduce conflict?, Hans Aberg, 2002/01/18
Re: How to change default outcome of shift/reduce conflict?, Hans Aberg, 2002/01/17
Re: How to change default outcome of shift/reduce conflict?, Anthony DeRobertis, 2002/01/18