]> git.saurik.com Git - bison.git/blame - ChangeLog
* src/options.c (OPTN, DRTV, BOTH): New.
[bison.git] / ChangeLog
CommitLineData
0edad749
AD
12001-12-10 Akim Demaille <akim@epita.fr>
2
3 * src/options.c (OPTN, DRTV, BOTH): New.
4 (option_table): Use them.
5
6
7 * src/muscle_tab.c: Don't include xalloc.h and string.h: that's
8 the job of system.h.
9 * src/options.c: Don't include stdio.h and xalloc.h for the same
10 reasons.
11
12
5449dd0f
AD
132001-12-10 Akim Demaille <akim@epita.fr>
14
15 * src/output.c (output, prepare): Make sure the values of the
16 muscles `action' and `prologue' are 0-terminated.
17
a870c567
AD
182001-12-10 Akim Demaille <akim@epita.fr>
19
20 Clean up GCC warnings.
21
22 * src/reader.c (copy_action): `buf' is not used.
23 (parse_skel_decl): Be static.
24 * src/muscle_tab.c (mhash1, mhash2, muscle_insert): Preserve `const'.
25 * src/options.h (create_long_option_table): Have a real prototype.
26 * lib/hash.c, lib/hash.h (hash_insert, hash_insert_at, hash_delete)
27 (hash_delete_at): Return const void *.
28 Adjust casts to preserve the const.
29
80df8768
AD
302001-12-10 Akim Demaille <akim@epita.fr>
31
32 * configure.in: Require 2.52g.
33 M4 is not needed, but AUTOM4TE is.
34 * m4/m4.m4: Remove.
35 * tests/Makefile.am: Adjust.
36
37
f693ad14
AD
382001-12-10 Akim Demaille <akim@epita.fr>
39
40 One structure for states is enough, even though theoretically
41 there are LR(0) states and LALR(1) states.
42
43 * src/lalr.h (state_t): Remove.
44 (state_table): Be state_t **, not state_t *.
45 * src/state.h (core, CORE_ALLOC): Rename as...
46 (state_t, STATE_ALLOC): this.
47 Add the LALR(1) members: shifts, reductions, errs.
48 * src/LR0.c (state_table): Rename as...
49 (state_hash): this, to avoid name clashes with the global
50 `state_table'.
51 * src/print_graph.c, src/LR0.c, src/LR0.h, src/conflicts.c
52 * src/lalr.c, src/lalr.h, src/output.c, src/print.c: Adjust.
53
54
74ffbcb6
AD
552001-12-10 Akim Demaille <akim@epita.fr>
56
57 Bison dumps core on bash.y.
58 Reported by Pascal Bart.
59
60 * src/warshall.c (bitmatrix_print): New.
61 (TC): Use it.
62 When performing a transitive closure R(i, j) && R(j, k) => R(i, k),
63 j must be the outer loop.
64 * tests/regression.at (Broken Closure): New.
65
07708e19
AD
662001-12-05 Akim Demaille <akim@epita.fr>
67
68 * tests/atlocal.in (CPPFLAGS): Do not leave a space between -I and
69 its argument.
70