bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reductions during Bison error handling


From: Hans Aberg
Subject: Re: Reductions during Bison error handling
Date: Tue, 14 May 2002 01:31:56 +0200

At 14:25 -0700 2002/05/13, Paul Hilfinger wrote:
>HA > 1. Default reduction.
>HA >   a. The reduction marked $default in the .output file.
...
>And 1a should NOT be documented, since it is purely a matter of
>implementation and ought to be open to change.

OK

>BTW, I think I should comment on this LALR/LR thing.  I don't believe
>this issue has anything to do with the distinction between LR and LALR
>parsers.  Both use identical parsing algorithms and identically
>formatted tables.

Not true, as LALR(1) may apply reductions before an error is detected,
which LR will not do (see Aho et al., sec 4.7, p 240).

  Hans Aberg





reply via email to

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