mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
multistart: also use the api.prefix in the implementation
We were declaring foo_parse_expr but implementing yyparse_expr. * data/skeletons/yacc.c (_b4_define_sub_yyparse): Use api.prefix for the parse function name.
This commit is contained in:
@@ -198,7 +198,7 @@ m4_define([_b4_first_switching_token],
|
||||
m4_define([_b4_define_sub_yyparse],
|
||||
[[
|
||||
]b4_prefix[parse_]_b4_symbol($1, id)[_t
|
||||
yyparse_]_b4_symbol($1, id)[ (]m4_ifset([b4_parse_param], [b4_formals(b4_parse_param)], [void])[)
|
||||
]b4_prefix[parse_]_b4_symbol($1, id)[ (]m4_ifset([b4_parse_param], [b4_formals(b4_parse_param)], [void])[)
|
||||
{
|
||||
]b4_prefix[parse_]_b4_symbol($1, id)[_t yyres;
|
||||
yy_parse_impl_t yyimpl;
|
||||
|
||||
Reference in New Issue
Block a user