projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e26a497
)
Assert that orig_keyword, gv and gvp aren't used before the main
Nicholas Clark [Mon, 19 Dec 2005 22:38:54 +0000 (22:38 +0000)]
keyword parser of Perl_yylex.
p4raw-id: //depot/perl@26411
toke.c
patch
|
blob
|
blame
|
history
diff --git
a/toke.c
b/toke.c
index
1b07e56
..
b0c6135
100644
(file)
--- a/
toke.c
+++ b/
toke.c
@@
-4086,6
+4086,9
@@
Perl_yylex(pTHX)
case 'z': case 'Z':
keylookup: {
+ assert (orig_keyword == 0);
+ assert (gv == 0);
+ assert (gvp == 0);
orig_keyword = 0;
gv = Nullgv;
gvp = 0;