* src/symtab.h (struct symbol): Declare the printer and destructor

as const, to avoid accidental calls to free.
(symbol_destructor_set, symbol_printer_set): Adjust.
* src/symtab.c: Adjust.
This commit is contained in:
Akim Demaille
2005-09-16 19:50:08 +00:00
parent cf147260d2
commit c1432f6538
3 changed files with 15 additions and 6 deletions

View File

@@ -1,3 +1,10 @@
2005-09-16 Akim <akim@epita.fr>
* src/symtab.h (struct symbol): Declare the printer and destructor
as const, to avoid accidental calls to free.
(symbol_destructor_set, symbol_printer_set): Adjust.
* src/symtab.c: Adjust.
2005-09-16 Akim <akim@epita.fr>
* data/c.m4 (b4_token_enums): New.