summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-10-28 16:02:47 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-10-28 16:02:47 +0000
commitdba4d15314674d8e2372d6f7a985345787581cbb (patch)
tree234455629f7743610048270294f4bc627f10234e /embed.h
parent47deb5e7d69449fbaa65f4bd4f42d66014743a75 (diff)
downloadperl-dba4d15314674d8e2372d6f7a985345787581cbb.tar.gz
The reëntrant version shouldn't be needed unless USE_PURE_BISON.
p4raw-id: //depot/perl@7465
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/embed.h b/embed.h
index a5888193d3..c50ff16a9d 100644
--- a/embed.h
+++ b/embed.h
@@ -744,12 +744,12 @@
#define watch Perl_watch
#define whichsig Perl_whichsig
#define yyerror Perl_yyerror
-#if defined(USE_PURE_BISON)
+#ifdef USE_PURE_BISON
+#define yylex_r Perl_yylex_r
#define yylex Perl_yylex
#else
#define yylex Perl_yylex
#endif
-#define syylex S_syylex
#define yyparse Perl_yyparse
#define yywarn Perl_yywarn
#if defined(MYMALLOC)
@@ -2202,12 +2202,12 @@
#define watch(a) Perl_watch(aTHX_ a)
#define whichsig(a) Perl_whichsig(aTHX_ a)
#define yyerror(a) Perl_yyerror(aTHX_ a)
-#if defined(USE_PURE_BISON)
+#ifdef USE_PURE_BISON
+#define yylex_r(a,b) Perl_yylex_r(aTHX_ a,b)
#define yylex(a,b) Perl_yylex(aTHX_ a,b)
#else
#define yylex() Perl_yylex(aTHX)
#endif
-#define syylex() S_syylex(aTHX)
#define yyparse() Perl_yyparse(aTHX)
#define yywarn(a) Perl_yywarn(aTHX_ a)
#if defined(MYMALLOC)
@@ -4320,15 +4320,15 @@
#define whichsig Perl_whichsig
#define Perl_yyerror CPerlObj::Perl_yyerror
#define yyerror Perl_yyerror
-#if defined(USE_PURE_BISON)
+#ifdef USE_PURE_BISON
+#define Perl_yylex_r CPerlObj::Perl_yylex_r
+#define yylex_r Perl_yylex_r
#define Perl_yylex CPerlObj::Perl_yylex
#define yylex Perl_yylex
#else
#define Perl_yylex CPerlObj::Perl_yylex
#define yylex Perl_yylex
#endif
-#define S_syylex CPerlObj::S_syylex
-#define syylex S_syylex
#define Perl_yyparse CPerlObj::Perl_yyparse
#define yyparse Perl_yyparse
#define Perl_yywarn CPerlObj::Perl_yywarn