This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e26a497
)
Assert that orig_keyword, gv and gvp aren't used before the main
author
Nicholas Clark
<nick@ccl4.org>
Mon, 19 Dec 2005 22:38:54 +0000
(22:38 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
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;