From 137437c6db9608a500ae602a526a28bd40c063d0 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 25 Jul 2003 07:12:11 +0000 Subject: [PATCH] Let the user specify how to allocate and free memory. --- ChangeLog | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6be71c9f..7695097c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2003-07-25 Paul Eggert + + Let the user specify how to allocate and free memory. + Derived from a suggestion by Frank Heckenbach in + . + * data/glr.c (YYFREE, YYMALLOC, YYREALLOC): New macros. + All uses of free, malloc, realloc changed to use these macros, + and unnecessary casts removed. + * data/yacc.c (YYFREE, YYMALLOC): Likewise. + 2003-07-06 Matthias Mann * data/lalr1.cc (operator<<(std::ostream&, const Position&)): @@ -122,7 +132,7 @@ Allow states with only a default reduction, rather than failing (I can't quite reconstruct why these were not allowed before). - Fixes to avoid problem that $-N rules in GLR parsers can cause + Fixes to avoid problem that $-N rules in GLR parsers can cause buffer overruns, corrupting state. * src/output.c (prepare_rules): Output max_left_semantic_context -- 2.47.2