fix pp_definition not being initialized in a symbol
authorMatthias Braun <matze@braunis.de>
Mon, 25 Jul 2011 13:14:50 +0000 (15:14 +0200)
committerMatthias Braun <matze@braunis.de>
Tue, 9 Aug 2011 18:19:26 +0000 (20:19 +0200)
symbol_table.c

index 64f2c22..b756e8e 100644 (file)
@@ -30,10 +30,11 @@ struct obstack symbol_obstack;
 static inline
 void init_symbol_table_entry(symbol_t *entry, const char *string)
 {
-       entry->string = string;
-       entry->ID     = T_IDENTIFIER;
-       entry->pp_ID  = TP_IDENTIFIER;
-       entry->entity = NULL;
+       entry->string        = string;
+       entry->ID            = T_IDENTIFIER;
+       entry->pp_ID         = TP_IDENTIFIER;
+       entry->entity        = NULL;
+       entry->pp_definition = NULL;
 }
 
 #define HashSet                    symbol_table_t