[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: state_default_rule is redundant
From: |
Paul Eggert |
Subject: |
Re: state_default_rule is redundant |
Date: |
Wed, 28 Feb 2007 13:23:37 -0800 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
"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.