summaryrefslogtreecommitdiff
path: root/embedvar.h
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2004-02-28 22:37:08 +0000
committerDave Mitchell <davem@fdisolutions.com>2004-02-28 22:37:08 +0000
commit12fbd33b4c244f0a97c39c9f6411b444814dbc56 (patch)
tree6c02d508ab1042a2f7c121e9e111118886b3437b /embedvar.h
parent003a92ef523fede541513d0991848d9e3d62707a (diff)
downloadperl-12fbd33b4c244f0a97c39c9f6411b444814dbc56.tar.gz
make the bison-based parser threadsafe and capable of deep
recursion by eradicating Perl_yylex_r() p4raw-id: //depot/perl@22408
Diffstat (limited to 'embedvar.h')
-rw-r--r--embedvar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/embedvar.h b/embedvar.h
index d8a874be30..8db07afe47 100644
--- a/embedvar.h
+++ b/embedvar.h
@@ -457,6 +457,8 @@
#define PL_xpvnv_root (vTHX->Ixpvnv_root)
#define PL_xrv_arenaroot (vTHX->Ixrv_arenaroot)
#define PL_xrv_root (vTHX->Ixrv_root)
+#define PL_yycharp (vTHX->Iyycharp)
+#define PL_yylvalp (vTHX->Iyylvalp)
#else /* !MULTIPLICITY */
@@ -756,6 +758,8 @@
#define PL_Ixpvnv_root PL_xpvnv_root
#define PL_Ixrv_arenaroot PL_xrv_arenaroot
#define PL_Ixrv_root PL_xrv_root
+#define PL_Iyycharp PL_yycharp
+#define PL_Iyylvalp PL_yylvalp
#define PL_TSv PL_Sv
#define PL_TXpv PL_Xpv