diff options
author | Roca, Ignasi <ignasi.roca@fujitsu.siemens.es> | 2001-01-22 18:51:58 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-01-23 16:13:27 +0000 |
commit | 48cf72c85711f1650a96caf8dc746a297ee2bd06 (patch) | |
tree | 5884f9e4c95d96b7fde498099e063d387c6164ea /embed.h | |
parent | c512e37464e3d1c993af1ac99fc83869882e5c21 (diff) | |
download | perl-48cf72c85711f1650a96caf8dc746a297ee2bd06.tar.gz |
RE: [PATCH perl@8269] Corrections for Perl_yylex_r (used by a reentrant parser as Bison)
Message-ID: <5930DC161690D21196670090271575470397E915@madt009a.siemens.es>
p4raw-id: //depot/perl@8532
Diffstat (limited to 'embed.h')
-rw-r--r-- | embed.h | 13 |
1 files changed, 3 insertions, 10 deletions
@@ -755,10 +755,8 @@ #define yyerror Perl_yyerror #ifdef USE_PURE_BISON #define yylex_r Perl_yylex_r -#define yylex Perl_yylex -#else -#define yylex Perl_yylex #endif +#define yylex Perl_yylex #define yyparse Perl_yyparse #define yywarn Perl_yywarn #if defined(MYMALLOC) @@ -2231,10 +2229,8 @@ #define yyerror(a) Perl_yyerror(aTHX_ a) #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 yylex() Perl_yylex(aTHX) #define yyparse() Perl_yyparse(aTHX) #define yywarn(a) Perl_yywarn(aTHX_ a) #if defined(MYMALLOC) @@ -4379,12 +4375,9 @@ #ifdef USE_PURE_BISON #define Perl_yylex_r CPerlObj::Perl_yylex_r #define yylex_r Perl_yylex_r +#endif #define Perl_yylex CPerlObj::Perl_yylex #define yylex Perl_yylex -#else -#define Perl_yylex CPerlObj::Perl_yylex -#define yylex Perl_yylex -#endif #define Perl_yyparse CPerlObj::Perl_yyparse #define yyparse Perl_yyparse #define Perl_yywarn CPerlObj::Perl_yywarn |