1 |
2002-10-13 Akim Demaille <akim@epita.fr> |
2002-10-13 Akim Demaille <akim@epita.fr> |
2 |
|
|
3 |
|
Let nondeterministic skeletons be usable with deterministic |
4 |
|
tables. |
5 |
|
|
6 |
|
With the patch, GAWK compiled by GCC without -O2 passes its test |
7 |
|
suite using a GLR parser driven by LALR tables. It fails with -O2 |
8 |
|
because `struct stat' gives two different answers on my machine: |
9 |
|
88 (definition of an auto var) and later 96 (memset on this var). |
10 |
|
Hence the stack is badly corrumpted. The headers inclusion is to |
11 |
|
blame: if I move the awk.h inclusion before GLR's system header |
12 |
|
inclusion, the two struct stat have the same size. |
13 |
|
|
14 |
|
* src/tables.c (pack_table): Always create conflict_table. |
15 |
|
(token_actions): Always create conflict_list. |
16 |
|
* data/glr.c (YYFLAG): Remove, unused. |
17 |
|
|
18 |
|
2002-10-13 Akim Demaille <akim@epita.fr> |
19 |
|
|
20 |
* configure.ac (AC_GNU_SOURCE): Use it instead of hand written code. |
* configure.ac (AC_GNU_SOURCE): Use it instead of hand written code. |
21 |
(O0FLAGS): New. |
(O0FLAGS): New. |
22 |
(VALGRIND, GXX): New. |
(VALGRIND, GXX): New. |