longstanding typo in lexer: PL_lex_expect was not properly
authorGurusamy Sarathy <gsar@cpan.org>
Wed, 8 Dec 1999 01:11:44 +0000 (01:11 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Wed, 8 Dec 1999 01:11:44 +0000 (01:11 +0000)
saved on reentry

p4raw-id: //depot/perl@4663

toke.c

diff --git a/toke.c b/toke.c
index 8eac820..a1704dc 100644 (file)
--- a/toke.c
+++ b/toke.c
@@ -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;