X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/9280d3ef893b90b36c89fa7737512f2d640e41d9..b17a1fc541456df871fa672c99d8d92cc7c084dd:/src/symlist.c diff --git a/src/symlist.c b/src/symlist.c index d86207cf..92d8513d 100644 --- a/src/symlist.c +++ b/src/symlist.c @@ -36,6 +36,8 @@ symbol_list_new (symbol_t *sym, location_t location) res->location = location; res->action = NULL; res->ruleprec = NULL; + res->dprec = 0; + res->merger = 0; return res; } @@ -84,7 +86,7 @@ symbol_list_length (symbol_list_t *list) | symbol N in rule RULE. | `--------------------------------------------------------------*/ -char * +struniq_t symbol_list_n_type_name_get (symbol_list_t *rule, location_t location, int n) { int i;