summaryrefslogtreecommitdiffstats
path: root/generic/tclCompExpr.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2011-03-10 14:52:13 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2011-03-10 14:52:13 (GMT)
commitc72726d8cefd31a97c13a617c0f476eb2cf76f48 (patch)
tree737e0d284648cea10f59a6a1b78fcb3f194944ae /generic/tclCompExpr.c
parent48af16b1e7c2c6005dc3fb8ea9149e22323bb4cc (diff)
parent6f62d07c61ca11bfa64f8d054513eb73440c6899 (diff)
downloadtcl-c72726d8cefd31a97c13a617c0f476eb2cf76f48.zip
tcl-c72726d8cefd31a97c13a617c0f476eb2cf76f48.tar.gz
tcl-c72726d8cefd31a97c13a617c0f476eb2cf76f48.tar.bz2
Merge to feature branch
Diffstat (limited to 'generic/tclCompExpr.c')
-rw-r--r--generic/tclCompExpr.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/generic/tclCompExpr.c b/generic/tclCompExpr.c
index 1d42b81..34deff7 100644
--- a/generic/tclCompExpr.c
+++ b/generic/tclCompExpr.c
@@ -1333,13 +1333,12 @@ ParseExpr(
numBytes -= scanned;
} /* main parsing loop */
- error:
-
/*
* We only get here if there's been an error. Any errors that didn't get a
* suitable parsePtr->errorType, get recorded as syntax errors.
*/
+ error:
if (parsePtr->errorType == TCL_PARSE_SUCCESS) {
parsePtr->errorType = TCL_PARSE_SYNTAX;
}
@@ -1349,7 +1348,7 @@ ParseExpr(
*/
if (nodes != NULL) {
- ckfree((char*) nodes);
+ ckfree((char *) nodes);
}
if (interp == NULL) {
@@ -1361,7 +1360,6 @@ ParseExpr(
Tcl_DecrRefCount(msg);
}
} else {
-
/*
* Construct the complete error message. Start with the simple error
* message, pulled from the interp result if necessary...