summaryrefslogtreecommitdiff
path: root/perly.c
diff options
context:
space:
mode:
Diffstat (limited to 'perly.c')
-rw-r--r--perly.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/perly.c b/perly.c
index af09290581..94da31f1c8 100644
--- a/perly.c
+++ b/perly.c
@@ -296,6 +296,7 @@ S_clear_yystack(pTHX_ const yy_parser *parser)
/* delete a parser object */
+#ifndef PERL_IN_MADLY_C
void
Perl_parser_free(pTHX_ const yy_parser *parser)
{
@@ -303,7 +304,7 @@ Perl_parser_free(pTHX_ const yy_parser *parser)
Safefree(parser->stack);
PL_parser = parser->old_parser;
}
-
+#endif
/*----------.
| yyparse. |