]> git.saurik.com Git - bison.git/blobdiff - src/symlist.c
yacc.c: fix broken union when api.value.type=union and %defines are used
[bison.git] / src / symlist.c
index d43591ad812a512d6d764b037b2206806d2f5224..c4f74eceab3b986c20a36ca902a640d46954293f 100644 (file)
@@ -1,6 +1,6 @@
 /* Lists of symbols for Bison
 
-   Copyright (C) 2002, 2005-2007, 2009-2013 Free Software Foundation,
+   Copyright (C) 2002, 2005-2007, 2009-2014 Free Software Foundation,
    Inc.
 
    This file is part of Bison, the GNU Compiler Compiler.
@@ -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;