[Top][All Lists]

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

Re: Proposal for lambda'ing error recovery

From: Paul Eggert
Subject: Re: Proposal for lambda'ing error recovery
Date: Mon, 18 Nov 2002 13:11:55 -0800

> From: Akim Demaille <address@hidden>
> Date: Mon, 18 Nov 2002 15:30:46 +0100
> Well, I have not received any comment about the patch.

Sorry, somehow I am not subscribed to bison-patches.  I'll fix that now.

> I really can't imagine any impact on the performance because of
> `register' here

I can imagine impact, in some cases, but the problem is easy to fix:
copy the variable from its register variable to an auto variable just
before the call, and copy it back afterwards.

More serious than the register problem is the fact that some existing
grammars seem to assume that all actions and error recovery are in one
procedure; I am thinking of the compatibility problem reported by Ralf
S. Engelschall with yyreport_parse_error, which we fixed on 2002-10-11
by moving that function body back into yyparse.  Such user code is not
portable, of course, but I would rather not mess with that assumption
until after a stable Bison version is out.

Perhaps we can check in possibly-destabilizing changes like this into
a separate branch?

reply via email to

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