1 |
|
2003-07-25 Paul Eggert <eggert@twinsun.com> |
2 |
|
|
3 |
|
Let the user specify how to allocate and free memory. |
4 |
|
Derived from a suggestion by Frank Heckenbach in |
5 |
|
<http://mail.gnu.org/archive/html/bison-patches/2003-06/msg00041.html>. |
6 |
|
* data/glr.c (YYFREE, YYMALLOC, YYREALLOC): New macros. |
7 |
|
All uses of free, malloc, realloc changed to use these macros, |
8 |
|
and unnecessary casts removed. |
9 |
|
* data/yacc.c (YYFREE, YYMALLOC): Likewise. |
10 |
|
|
11 |
2003-07-06 Matthias Mann <MatthiasMann@gmx.de> |
2003-07-06 Matthias Mann <MatthiasMann@gmx.de> |
12 |
|
|
13 |
* data/lalr1.cc (operator<<(std::ostream&, const Position&)): |
* data/lalr1.cc (operator<<(std::ostream&, const Position&)): |
132 |
Allow states with only a default reduction, rather than failing |
Allow states with only a default reduction, rather than failing |
133 |
(I can't quite reconstruct why these were not allowed before). |
(I can't quite reconstruct why these were not allowed before). |
134 |
|
|
135 |
Fixes to avoid problem that $-N rules in GLR parsers can cause |
Fixes to avoid problem that $-N rules in GLR parsers can cause |
136 |
buffer overruns, corrupting state. |
buffer overruns, corrupting state. |
137 |
|
|
138 |
* src/output.c (prepare_rules): Output max_left_semantic_context |
* src/output.c (prepare_rules): Output max_left_semantic_context |