From 260008e546ee1ef9b2c9946f3e97726c015222ef Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Sun, 30 Jun 2002 17:30:58 +0000 Subject: [PATCH] * src/symtab.c (symbol_new): Initialize the `printer' member. --- ChangeLog | 5 +++++ src/symtab.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 65776e55..ba92a1f9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-06-30 Akim Demaille + + * src/symtab.c (symbol_new): Initialize the `printer' member. + + 2002-06-30 Akim Demaille * src/LR0.c (save_reductions): Remove, replaced by... diff --git a/src/symtab.c b/src/symtab.c index 7355bdd3..5908c092 100644 --- a/src/symtab.c +++ b/src/symtab.c @@ -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; -- 2.45.2