summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>1997-11-22 18:10:50 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>1997-11-22 18:10:50 +0000
commit161b471ac314d8d6343f9f351e5fb9ef816168a8 (patch)
treec3a324553e0f560f723db6f25069f4eeca5f65eb /toke.c
parent2caa6ce99d8e3323a4caebe8d1c7473fc0b66544 (diff)
downloadperl-161b471ac314d8d6343f9f351e5fb9ef816168a8.tar.gz
ansiperl builds with Borland C++ again
p4raw-id: //depot/ansiperl@280
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/toke.c b/toke.c
index f10c39fada..95be7df498 100644
--- a/toke.c
+++ b/toke.c
@@ -1230,6 +1230,8 @@ yylex(void)
register char *d;
register I32 tmp;
STRLEN len;
+ GV *gv = Nullgv;
+ GV **gvp = 0;
if (pending_ident) {
char pit = pending_ident;
@@ -2545,8 +2547,8 @@ yylex(void)
case 'z': case 'Z':
keylookup: {
- GV *gv = Nullgv;
- GV **gvp = 0;
+ gv = Nullgv;
+ gvp = 0;
bufptr = s;
s = scan_word(s, tokenbuf, sizeof tokenbuf, FALSE, &len);
@@ -5381,3 +5383,4 @@ yyerror(char *s)
return 0;
}
+