diff options
author | dgp <dgp@users.sourceforge.net> | 2008-05-21 20:38:06 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2008-05-21 20:38:06 (GMT) |
commit | e6f74fe56314ceb887b5ba5cb31e0fbbd47dc39f (patch) | |
tree | e73485452a99136fe69e0b9ef17b3662d2afe29f /tests | |
parent | 101190f926650dbdad3433ea81658e693eea44b3 (diff) | |
download | tcl-e6f74fe56314ceb887b5ba5cb31e0fbbd47dc39f.zip tcl-e6f74fe56314ceb887b5ba5cb31e0fbbd47dc39f.tar.gz tcl-e6f74fe56314ceb887b5ba5cb31e0fbbd47dc39f.tar.bz2 |
* generic/tclParse.c (ParseComment): The new TclParseAllWhiteSpace()
* tests/parse.test (parse-15.60): routine has no mechanism to
return the "incomplete" status of "\\\n" so calling this routine
anywhere that can be reached within a Tcl_ParseCommand() call is a
mistake. In particular, ParseComment() must not use it. [Bug 1968882].
Diffstat (limited to 'tests')
-rw-r--r-- | tests/parse.test | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/parse.test b/tests/parse.test index 5becb4c..0fed2f5 100644 --- a/tests/parse.test +++ b/tests/parse.test @@ -8,7 +8,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: parse.test,v 1.30 2007/12/13 15:26:07 dgp Exp $ +# RCS: @(#) $Id: parse.test,v 1.30.2.1 2008/05/21 20:38:09 dgp Exp $ if {[catch {package require tcltest 2.0.2}]} { puts stderr "Skipping tests in [info script]. tcltest 2.0.2 required." @@ -884,6 +884,10 @@ test parse-15.59 {CommandComplete procedure} { # Test for Tcl Bug 684744 info complete [encoding convertfrom identity "\x00;if 1 \{"] } 0 +test parse-15.60 {CommandComplete procedure} { + # Test for Tcl Bug 1968882 + info complete \\\n +} 0 test parse-16.1 {Tcl_EvalEx, check termOffset is set correctly for non TCL_OK cases, bug 2535} { subst {[eval {return foo}]bar} |