multistart: also use the api.prefix in the implementation

Akim Demaille <[email protected]>
Newsgroups gmane.comp.parsers.bison.patches
Message-ID <[email protected]>
commit 38cdb2aba2e98ee9960fa9d751dd68d1934fd1ca
Author: Akim Demaille <[email protected]>
Date:   Sat Nov 21 14:57:29 2020 +0100

    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.

diff --git a/data/skeletons/yacc.c b/data/skeletons/yacc.c
index fdec3c8a..09b8c251 100644
--- a/data/skeletons/yacc.c
+++ b/data/skeletons/yacc.c
@@ -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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.