From d9cfa1c06300e54878d865f0c4364bce493f82cf Mon Sep 17 00:00:00 2001 From: redman Date: Fri, 23 Jul 1999 23:40:28 +0000 Subject: Removed patch for bug 2382, for info complete. --- ChangeLog | 7 +++++++ generic/tclParse.c | 5 ++--- tests/info.test | 8 ++++---- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9f68bd1..0045e20 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +1999-07-23 + + * tests/info.test: + * generic/tclParse.c: Removed patch for info command, breaks test + cases on Unix. Patch was bad and needs to be redone + properly. [Bug: 2382] + 1999-07-22 * Changed version to 8.2b2. diff --git a/generic/tclParse.c b/generic/tclParse.c index e3204cc..df5412f 100644 --- a/generic/tclParse.c +++ b/generic/tclParse.c @@ -14,7 +14,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclParse.c,v 1.9 1999/07/22 02:15:45 redman Exp $ + * RCS: @(#) $Id: tclParse.c,v 1.10 1999/07/23 23:40:29 redman Exp $ */ #include "tclInt.h" @@ -607,8 +607,7 @@ ParseTokens(src, mask, parsePtr) if (nested.tokenPtr != nested.staticTokens) { ckfree((char *) nested.tokenPtr); } - if ((*nested.term != 0) && (src[-1] == ']') - && !nested.incomplete) { + if ((src[-1] == ']') && !nested.incomplete) { break; } if (src == parsePtr->end) { diff --git a/tests/info.test b/tests/info.test index d4fc961..012bdff 100644 --- a/tests/info.test +++ b/tests/info.test @@ -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: info.test,v 1.9 1999/07/22 02:15:45 redman Exp $ +# RCS: @(#) $Id: info.test,v 1.10 1999/07/23 23:40:29 redman Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -135,11 +135,11 @@ test info-5.3 {info complete option} { info complete {# Comment should be complete command} } 1 test info-5.4 {info complete option} { - info complete {[a [b]} -} 0 -test info-5.5 {info complete option} { info complete {[a [b] } } 0 +test info-5.5 {info complete option} {knownBug} { + info complete {[a [b]} +} 0 test info-6.1 {info default option} { proc t1 {a b {c d} {e "long default value"}} {} -- cgit v0.12