From: Akim Demaille Date: Sun, 30 Jun 2002 17:30:58 +0000 (+0000) Subject: * src/symtab.c (symbol_new): Initialize the `printer' member. X-Git-Tag: BISON-1_49b~110 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/260008e546ee1ef9b2c9946f3e97726c015222ef?ds=sidebyside * src/symtab.c (symbol_new): Initialize the `printer' member. --- 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;