diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2012-08-03 14:24:34 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2012-08-03 14:24:34 (GMT) |
commit | 9721f569eacfc8d7452182fb57bfa2a758f580b7 (patch) | |
tree | 638bb10c1c93ca8531074a657f22bf17d2447bee /generic/tclParse.c | |
parent | 4152a1cc08547b251509c18405d318433f5ece2e (diff) | |
download | tcl-9721f569eacfc8d7452182fb57bfa2a758f580b7.zip tcl-9721f569eacfc8d7452182fb57bfa2a758f580b7.tar.gz tcl-9721f569eacfc8d7452182fb57bfa2a758f580b7.tar.bz2 |
more result generation conversion
Diffstat (limited to 'generic/tclParse.c')
-rw-r--r-- | generic/tclParse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclParse.c b/generic/tclParse.c index aab2fac..309e232 100644 --- a/generic/tclParse.c +++ b/generic/tclParse.c @@ -1779,8 +1779,8 @@ Tcl_ParseBraces( break; case '#' : if (openBrace && TclIsSpaceProc(src[-1])) { - Tcl_AppendResult(parsePtr->interp, - ": possible unbalanced brace in comment", NULL); + Tcl_AppendToObj(Tcl_GetObjResult(parsePtr->interp), + ": possible unbalanced brace in comment", -1); goto error; } break; |