This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Pure bison yylex() proto was broken.
[perl5.git] / proto.h
diff --git a/proto.h b/proto.h
index 0aec76d..2bd96f0 100644 (file)
--- a/proto.h
+++ b/proto.h
@@ -672,7 +672,7 @@ VIRTUAL void        watch _((char** addr));
 VIRTUAL I32    whichsig _((char* sig));
 VIRTUAL int    yyerror _((char* s));
 #ifdef USE_PURE_BISON
-# define PERL_YYLEX_PARAM_DECL YYSTYPE *, int *
+# define PERL_YYLEX_PARAM_DECL YYSTYPE *lvalp, int *lcharp
 #else
 # define PERL_YYLEX_PARAM_DECL
 #endif