/[bison]/bison/ChangeLog
ViewVC logotype

Diff of /bison/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.603 by akim, Sun Apr 7 16:42:32 2002 UTC revision 1.604 by akim, Sun Apr 7 17:36:38 2002 UTC
# Line 1  Line 1 
1  2002-04-07  Akim Demaille  <akim@epita.fr>  2002-04-07  Akim Demaille  <akim@epita.fr>
2    
3            * src/gram.h, src/gram.c (rules_rhs_length): New.
4            (ritem_longest_rhs): Use it.
5            * src/gram.h (rule_t): `number' is a new member.
6            * src/reader.c (packgram): Set it.
7            * src/reduce.c (reduce_grammar_tables): Move the useless rules at
8            the end of `rules', and count them out of `nrules'.
9            (reduce_output, dump_grammar): Adjust.
10            * src/print.c (print_grammar): It is no longer needed to check for
11            the usefulness of a rule, as useless rules are beyond `nrules + 1'.
12            * tests/reduce.at (Reduced Automaton): New test.
13    
14    2002-04-07  Akim Demaille  <akim@epita.fr>
15    
16          * src/reduce.c (inaccessable_symbols): Fix a buglet: because of a          * src/reduce.c (inaccessable_symbols): Fix a buglet: because of a
17          lacking `+ 1' to nrules, Bison reported as useless a token if it          lacking `+ 1' to nrules, Bison reported as useless a token if it
18          was used solely to set the precedence of the last rule...          was used solely to set the precedence of the last rule...

Legend:
Removed from v.1.603  
changed lines
  Added in v.1.604

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26