]> git.saurik.com Git - bison.git/blobdiff - src/symtab.c
* src/symtab.c (symbol_new): Initialize the `printer' member.
[bison.git] / src / symtab.c
index 7355bdd3e45bfe06d1cdb04cb536d204edcc5a16..5908c0920c046f542ea64b03d014168e38e75cc4 100644 (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;