diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-12-19 22:38:54 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-12-19 22:38:54 +0000 |
commit | d7183528816da5b6125a0d9a04b7f2e692de6e86 (patch) | |
tree | f4a8b92897f66727ddc7c666898c28836e6d51ea /toke.c | |
parent | e26a497577f3ce7b9a4d9e1e62062839554dfd8f (diff) | |
download | perl-d7183528816da5b6125a0d9a04b7f2e692de6e86.tar.gz |
Assert that orig_keyword, gv and gvp aren't used before the main
keyword parser of Perl_yylex.
p4raw-id: //depot/perl@26411
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |