diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-08 01:11:44 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-08 01:11:44 +0000 |
commit | 976ef375376ba93630995e81d409fdba5fc17278 (patch) | |
tree | 0baf9221bf87d79f41f020ce053dce0f504cbac4 /toke.c | |
parent | 562d31b88ec866a9804ab829f5cc992f3ccf2c2f (diff) | |
download | perl-976ef375376ba93630995e81d409fdba5fc17278.tar.gz |
longstanding typo in lexer: PL_lex_expect was not properly
saved on reentry
p4raw-id: //depot/perl@4663
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -381,7 +381,7 @@ Perl_lex_start(pTHX_ SV *line) SAVEI32(PL_sublex_info.sub_inwhat); SAVESPTR(PL_lex_repl); SAVEDESTRUCTOR_X(restore_expect, PL_tokenbuf + PL_expect); /* encode as pointer */ - SAVEDESTRUCTOR_X(restore_lex_expect, PL_tokenbuf + PL_expect); + SAVEDESTRUCTOR_X(restore_lex_expect, PL_tokenbuf + PL_lex_expect); PL_lex_state = LEX_NORMAL; PL_lex_defer = 0; |