X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/c547693afdacf4b865027d3bb8c53f601eadb5ae..423ca9b50e4321c078cc6fe7903b10ed4907d269:/src/parse-gram.y diff --git a/src/parse-gram.y b/src/parse-gram.y index 74eb4aee..c932ba54 100644 --- a/src/parse-gram.y +++ b/src/parse-gram.y @@ -342,7 +342,7 @@ prologue_declaration: | "%skeleton" STRING { char const *skeleton_user = $2; - if (mbschr (skeleton_user, '/')) + if (strchr (skeleton_user, '/')) { size_t dir_length = strlen (current_file); char *skeleton_build; @@ -390,14 +390,14 @@ grammar_declaration: { symbol_list *list; for (list = $3; list; list = list->next) - symbol_list_destructor_set (list, $2, @2); + symbol_list_code_props_set (list, destructor, @2, $2); symbol_list_free ($3); } | "%printer" "{...}" generic_symlist { symbol_list *list; for (list = $3; list; list = list->next) - symbol_list_printer_set (list, $2, @2); + symbol_list_code_props_set (list, printer, @2, $2); symbol_list_free ($3); } | "%default-prec"