[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bison ./ChangeLog src/LR0.c src/nullable.c src/...
From: |
Akim Demaille |
Subject: |
bison ./ChangeLog src/LR0.c src/nullable.c src/... |
Date: |
Wed, 05 Dec 2001 04:16:37 -0500 |
CVSROOT: /cvsroot/bison
Module name: bison
Branch: bison-1_29-branch
Changes by: Akim Demaille <address@hidden> 01/12/05 04:16:37
Modified files:
. : ChangeLog
src : LR0.c nullable.c reduce.c reduce.h
Log message:
Because useless nonterminals are now kept alive (instead of being
`destroyed'), we now sometimes examine them, and store information
related to them. Hence we need to know their number, and adjust
memory allocations.
* src/reduce.c, src/reduce.h (nuseless_nonterminals): No longer
static.
* src/LR0.c (allocate_itemsets): The memory allocated to
`symbol_count' was used for two different purpose: once to count
the number of occurrences of each symbol, and later reassigned to
`shift_symbol', containing the symbol that can be shifted from a
given state.
Deobfuscate, i.e., allocate, use and free `symbol_count' here
only, and...
(new_itemsets): Allocate `shift_symbol' here.
(allocate_itemsets): symbol_count includes useless nonterminals.
Make room for them.
(free_storage): Use `free', not `XFREE', for pointers that cannot
be null.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/ChangeLog.diff?only_with_tag=bison-1_29-branch&tr1=1.173.2.188&tr2=1.173.2.189&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/LR0.c.diff?only_with_tag=bison-1_29-branch&tr1=1.15.2.14&tr2=1.15.2.15&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/nullable.c.diff?only_with_tag=bison-1_29-branch&tr1=1.10.2.6&tr2=1.10.2.7&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/reduce.c.diff?only_with_tag=bison-1_29-branch&tr1=1.19.2.15&tr2=1.19.2.16&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/reduce.h.diff?only_with_tag=bison-1_29-branch&tr1=1.2.2.1&tr2=1.2.2.2&r1=text&r2=text
- bison ./ChangeLog src/LR0.c src/nullable.c src/...,
Akim Demaille <=