bison-patches
[Top][All Lists]
Advanced

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

Re: state_default_rule is redundant


From: Joel E. Denny
Subject: Re: state_default_rule is redundant
Date: Wed, 28 Feb 2007 22:40:32 -0500 (EST)

On Wed, 28 Feb 2007, Paul Eggert wrote:

> "Joel E. Denny" <address@hidden> writes:
> 
> >> +2007-02-25  Joel E. Denny  <address@hidden>
> >> +
> >> +  * src/print.c (lookahead_set, state_default_rule): Remove.
> >> +  (print_reductions): Replace state_default_rule invocation with
> >> +  equivalent use of yydefact, which was computed in token_actions in
> >> +  tables.c.
> >> +  (print_results): Don't allocate lookahead_set.
> 
> Looks like a win to me, though I admit I didn't really read the
> code that carefully.  Please install at your convenience.

Thanks.  I committed it.




reply via email to

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