Subject: TclCompileScript() should not overwrite envPtr->numSrcBytes. The envPtr already has the right value stored in it.

From: dgp <[email-masked]>
Date: Thu, 20 Jun 2013 14:17:05 +0000

---
 generic/tclCompile.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index cba659d..f982359 100644
--- a/generic/tclCompile.c
+++ b/generic/tclCompile.c
@@ -1631,7 +1631,6 @@ TclCompileScript(
 	TclEmitPush(TclAddLiteralObj(envPtr, Tcl_NewObj(), NULL), envPtr);
     }
 
-    envPtr->numSrcBytes = (p - script);
     TclStackFree(interp, parsePtr);
     Tcl_DStringFree(&ds);
 }
-- 
cgit v0.12