bison-patches
[Top][All Lists]
Advanced

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

Re: glr.c cleanup


From: Akim Demaille
Subject: Re: glr.c cleanup
Date: Tue, 03 Jan 2006 09:28:59 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

>>> "Joel" == Joel E Denny <address@hidden> writes:

 > On Mon, 2 Jan 2006, Akim Demaille wrote:
 >> Installed.

 > Thanks.

 >> For some reason, glr.c sometimes uses yydefact[], and at others
 >> yydefaultAction.

 > I don't know why.  I'd prefer it to be consistent.  Even though I'd 
 > normally vote for the function, yydefact is more consistent with yacc.c.

Right, but the glr skeleton is much more readable, and I won't prefer
the converse :)  The glr skeleton tries to keep some abstraction over
how the automaton is encoded.  Its yygetLRActions for instance is
something that would clarify yacc.c.







reply via email to

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