Pure bison yylex() proto was broken.
Jarkko Hietaniemi [Thu, 29 Oct 1998 15:31:26 +0000 (15:31 +0000)]
p4raw-id: //depot/cfgperl@2130

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