diff options
author | Ilya Zakharevich <ilya@math.berkeley.edu> | 1999-04-30 18:26:09 -0400 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-05-10 12:07:13 +0000 |
commit | f01a6163e007667f17c8ce559c0d07e799fb84fb (patch) | |
tree | 65b30771e2788ce1648d3a92a6cb6ca63f48ca23 /toke.c | |
parent | 73c5447cc3d9aa53f9c5359badf5b0ca31c38a6d (diff) | |
download | perl-f01a6163e007667f17c8ce559c0d07e799fb84fb.tar.gz |
Self-consistent numeric conversion again
Message-Id: <199905010226.WAA19127@monk.mps.ohio-state.edu>
p4raw-id: //depot/perl@3378
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -823,7 +823,7 @@ sublex_done(void) PL_lex_casemods = 0; *PL_lex_casestack = '\0'; PL_lex_starts = 0; - if (SvCOMPILED(PL_lex_repl)) { + if (SvEVALED(PL_lex_repl)) { PL_lex_state = LEX_INTERPNORMAL; PL_lex_starts++; /* we don't clear PL_lex_repl here, so that we can check later @@ -1854,7 +1854,7 @@ int yylex(PERL_YYLEX_PARAM_DECL) return ')'; } if (PL_lex_inwhat == OP_SUBST && PL_linestr == PL_lex_repl - && SvCOMPILED(PL_lex_repl)) + && SvEVALED(PL_lex_repl)) { if (PL_bufptr != PL_bufend) croak("Bad evalled substitution pattern"); @@ -5363,7 +5363,7 @@ scan_subst(char *start) sv_catpvn(repl, "{ ", 2); sv_catsv(repl, PL_lex_repl); sv_catpvn(repl, " };", 2); - SvCOMPILED_on(repl); + SvEVALED_on(repl); SvREFCNT_dec(PL_lex_repl); PL_lex_repl = repl; } |