From: Rafael Garcia-Suarez Date: Mon, 13 Nov 2006 15:05:27 +0000 (+0000) Subject: Fix a bug in the debugger tracing variables when one was eval'ing X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e5527e4b218996e0d66f0df3471b217282de3bb5;p=p5sagit%2Fp5-mst-13.2.git Fix a bug in the debugger tracing variables when one was eval'ing a string including a "#line" directive containing the actual name of the file already. (following-up change #25409) p4raw-link: @25409 on //depot/perl: e66cf94c7069ec9c7bdb94d5438988fe7012771f p4raw-id: //depot/perl@29263 --- diff --git a/toke.c b/toke.c index 9e0c08d..d61063a 100644 --- a/toke.c +++ b/toke.c @@ -774,12 +774,13 @@ S_incline(pTHX_ char *s) gvp = (GV**)hv_fetch(PL_defstash, tmpbuf, tmplen, FALSE); if (gvp) { gv2 = *(GV**)hv_fetch(PL_defstash, tmpbuf2, tmplen2, TRUE); - if (!isGV(gv2)) + if (!isGV(gv2)) { gv_init(gv2, PL_defstash, tmpbuf2, tmplen2, FALSE); - /* adjust ${"::_