]> git.saurik.com Git - bison.git/blobdiff - src/symlist.c
c++: fix several issues with locations
[bison.git] / src / symlist.c
index d43591ad812a512d6d764b037b2206806d2f5224..50915c18bdeebc99590795cd6a2bbe268e63c446 100644 (file)
@@ -44,9 +44,12 @@ symbol_list_sym_new (symbol *sym, location loc)
 
   /* Members used for LHS only.  */
   res->ruleprec = NULL;
+  res->percent_empty_loc = empty_location;
   code_props_none_init (&res->action_props);
   res->dprec = 0;
+  res->dprec_location = empty_location;
   res->merger = 0;
+  res->merger_declaration_location = empty_location;
 
   res->next = NULL;