]> git.saurik.com Git - bison.git/commitdiff
* src/symtab.c (symbol_new): Initialize the `printer' member.
authorAkim Demaille <akim@epita.fr>
Sun, 30 Jun 2002 17:30:58 +0000 (17:30 +0000)
committerAkim Demaille <akim@epita.fr>
Sun, 30 Jun 2002 17:30:58 +0000 (17:30 +0000)
ChangeLog
src/symtab.c

index 65776e5597503245c5cc13e14d6f10059ee75e49..ba92a1f96478d9c58bdb5b21cfbabd54dff9efab 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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...
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;