X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/398c298c8814ff5cc9c1fafc9cfaa26e331b4f79..aed41cf9a0dde045bf93c9241dfdd62d75fe3d18:/src/parse-gram.c diff --git a/src/parse-gram.c b/src/parse-gram.c index 24ff8f0f..8539085b 100644 --- a/src/parse-gram.c +++ b/src/parse-gram.c @@ -1937,7 +1937,7 @@ YYLTYPE yylloc; `yyvs': related to semantic values. `yyls': related to locations. - Refer to the stacks thru separate pointers, to allow yyoverflow + Refer to the stacks through separate pointers, to allow yyoverflow to reallocate them elsewhere. */ /* The state stack. */ @@ -2431,7 +2431,7 @@ yyreduce: #line 343 "src/parse-gram.y" { char const *skeleton_user = (yyvsp[0].chars); - if (mbschr (skeleton_user, '/')) + if (strchr (skeleton_user, '/')) { size_t dir_length = strlen (current_file); char *skeleton_build;