diff options
| author | dgp@users.sourceforge.net <dgp> | 2013-07-18 15:42:54 (GMT) |
|---|---|---|
| committer | dgp@users.sourceforge.net <dgp> | 2013-07-18 15:42:54 (GMT) |
| commit | c1231598266ea0b2f4849f4c24ad8ee532f44099 (patch) | |
| tree | 10b1fe79c403e17da470df6f8eb602fc0b7c1a7d /generic/tclCompile.c | |
| parent | e7cb785cd625a1172cc8bbede0b3bb7da20c7b91 (diff) | |
| parent | 17c0f4713b7d067682204e9555b43c531edf5e69 (diff) | |
| download | tcl-c1231598266ea0b2f4849f4c24ad8ee532f44099.zip tcl-c1231598266ea0b2f4849f4c24ad8ee532f44099.tar.gz tcl-c1231598266ea0b2f4849f4c24ad8ee532f44099.tar.bz2 | |
merge trunk
Diffstat (limited to 'generic/tclCompile.c')
| -rw-r--r-- | generic/tclCompile.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c index 763e8f1..a52ad3e 100644 --- a/generic/tclCompile.c +++ b/generic/tclCompile.c @@ -2109,7 +2109,6 @@ TclCompileScript( Tcl_LogCommandInfo(interp, script, parse.commandStart, parse.term + 1 - parse.commandStart); TclCompileSyntaxError(interp, envPtr); - Tcl_FreeParse(&parse); return; } @@ -2242,10 +2241,7 @@ TclCompileScript( */ Tcl_LogCommandInfo(interp, script, parsePtr->commandStart, - /* Drop the command terminator (";","]") if appropriate */ - (parsePtr->term == - parsePtr->commandStart + parsePtr->commandSize - 1)? - parsePtr->commandSize - 1 : parsePtr->commandSize); + parsePtr->term + 1 - parsePtr->commandStart); TclCompileSyntaxError(interp, envPtr); break; } |
