diff options
author | dgp <dgp@noemail.net> | 2009-07-16 20:50:52 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2009-07-16 20:50:52 (GMT) |
commit | 342636ae9bdeb967fbe1e1d8614aaf2d934e7101 (patch) | |
tree | b5b2733030e6c8eea0ea745246839c42469ecc7c /generic/tclCompile.c | |
parent | 11d8c72e0f6117c7d420b1484488d5d1bdfa4b1f (diff) | |
download | tcl-342636ae9bdeb967fbe1e1d8614aaf2d934e7101.zip tcl-342636ae9bdeb967fbe1e1d8614aaf2d934e7101.tar.gz tcl-342636ae9bdeb967fbe1e1d8614aaf2d934e7101.tar.bz2 |
* generic/tclCmdIL.c: Removed unused variables.
* generic/tclCompile.c:
* generic/tclVar.c:
* unix/tclUnixChan.c:
* generic/tclScan.c: Typo in ACCEPT_NAN configuration.
* generic/tclStrToD.c: Set floating point control register on
MIPS systems so that the gradual underflow expected by Tcl is
in effect. [Bug 2819200]
FossilOrigin-Name: 936f6911bda9859212bab127d1a62b6586977504
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r-- | generic/tclCompile.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c index bfc81b7..2ea99ac 100644 --- a/generic/tclCompile.c +++ b/generic/tclCompile.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCompile.c,v 1.146.2.9 2009/07/15 22:27:13 das Exp $ + * RCS: @(#) $Id: tclCompile.c,v 1.146.2.10 2009/07/16 20:50:54 dgp Exp $ */ #include "tclInt.h" @@ -1157,7 +1157,7 @@ TclCompileScript( Namespace *cmdNsPtr; Command *cmdPtr; Tcl_Token *tokenPtr; - int bytesLeft, isFirstCmd, gotParse, wordIdx, currCmdIndex; + int bytesLeft, isFirstCmd, wordIdx, currCmdIndex; int commandLength, objIndex; Tcl_DString ds; /* TIP #280 */ @@ -1187,7 +1187,6 @@ TclCompileScript( p = script; bytesLeft = numBytes; - gotParse = 0; cmdLine = envPtr->line; do { if (Tcl_ParseCommand(interp, p, bytesLeft, 0, parsePtr) != TCL_OK) { @@ -1203,7 +1202,6 @@ TclCompileScript( TclCompileSyntaxError(interp, envPtr); break; } - gotParse = 1; if (parsePtr->numWords > 0) { int expand = 0; /* Set if there are dynamic expansions to * handle */ @@ -1543,7 +1541,6 @@ TclCompileScript( TclAdvanceLines(&cmdLine, parsePtr->commandStart, p); Tcl_FreeParse(parsePtr); - gotParse = 0; } while (bytesLeft > 0); /* |