diff options
author | Roca, Ignasi <ignasi.roca@fujitsu.siemens.es> | 2000-10-20 15:17:27 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-20 20:07:29 +0000 |
commit | 20141f0ebfa7c09c3e5e502bba1c4e6e40b3072c (patch) | |
tree | fe78eaf8b20570e021acf5f2ba577370cf1be633 /embed.h | |
parent | 1048ea30476937814737f4fb47f5b4cb2620fbb6 (diff) | |
download | perl-20141f0ebfa7c09c3e5e502bba1c4e6e40b3072c.tar.gz |
Reëntrancy fix.
Subject: [PATCH perl@7229] Rentrant parser and yylex()
Message-ID: <5930DC161690D211966700902715754702DA09CD@madt009a.siemens.es>
p4raw-id: //depot/perl@7381
Diffstat (limited to 'embed.h')
-rw-r--r-- | embed.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -749,6 +749,7 @@ #else #define yylex Perl_yylex #endif +#define syylex S_syylex #define yyparse Perl_yyparse #define yywarn Perl_yywarn #if defined(MYMALLOC) @@ -2206,6 +2207,7 @@ #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) @@ -4325,6 +4327,8 @@ #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 |