* src/symtab.c (symbol_new): Initialize the `printer' member.

This commit is contained in:
Akim Demaille
2002-06-30 17:30:58 +00:00
parent 8a731ca829
commit 260008e546
2 changed files with 7 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2002-06-30 Akim Demaille <akim@epita.fr>
* src/symtab.c (symbol_new): Initialize the `printer' member.
2002-06-30 Akim Demaille <akim@epita.fr>
* src/LR0.c (save_reductions): Remove, replaced by...

View File

@@ -51,11 +51,13 @@ symbol_new (const char *tag, location_t location)
res->type_name = NULL;
res->destructor = NULL;
res->printer = NULL;
res->number = NUMBER_UNDEFINED;
res->prec = 0;
res->assoc = right_assoc;
res->user_token_number = USER_NUMBER_UNDEFINED;
res->alias = NULL;
res->class = unknown_sym;