summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-08-11 15:46:29 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-08-11 15:46:29 +0000
commit0f15f207c55ce70f46ebbd3be6c3d54763665084 (patch)
treed4cbbe278d8bb662e537d2b219246ee872cb20e6 /toke.c
parent12ca11f6c16e7b63e13bbf5bc251f214e8de5211 (diff)
downloadperl-0f15f207c55ce70f46ebbd3be6c3d54763665084.tar.gz
Assorted changes for multi-threading (now works rather more).
p4raw-id: //depot/perl@44
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/toke.c b/toke.c
index 39359b7613..ca8657b3a7 100644
--- a/toke.c
+++ b/toke.c
@@ -226,6 +226,7 @@ void
lex_start(line)
SV *line;
{
+ dTHR;
char *s;
STRLEN len;
@@ -309,6 +310,7 @@ static void
incline(s)
char *s;
{
+ dTHR;
char *t;
char *n;
char ch;
@@ -459,6 +461,7 @@ expectation x;
char *s;
#endif /* CAN_PROTOTYPE */
{
+ dTHR;
yylval.ival = f;
CLINE;
expect = x;
@@ -651,6 +654,7 @@ sublex_start()
static I32
sublex_push()
{
+ dTHR;
push_scope();
lex_state = sublex_info.super_state;