summaryrefslogtreecommitdiffstats
path: root/tests/parse.test
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclParse.c: Corrected faulty check for trailing whitedgp2003-11-241-1/+12
| | | | | | | space in {expand} parsing. Thanks Andreas Leitgeb. [Bug 848262]. * tests/parse.test: New tests for the bug. FossilOrigin-Name: 672ceae2aef17192295def7c292bde85f4c97c0d
* * doc/ParseCmd.3: Implementation of TIP 157. Adds recognitiondgp2003-11-141-170/+251
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/Tcl.n: of the new leading {expand} syntax on words. * generic/tcl.h: Parses such words as the new Tcl_Token type * generic/tclBasic.c: TCL_TOKEN_EXPAND_WORD. Updated Tcl_EvalEx * generic/tclCompile.c: and the bytecode compiler/execution engine * generic/tclCompile.h: to recognize the new token type. New opcodes * generic/tclExecute.c: INST_LIST_VERIFY and INST_INVOKE_EXP and a new * generic/tclParse.c: operand type OPERAND_ULIST1 are defined. Docs * generic/tclTest.c: and tests are included. * tests/basic.test: * tests/compile.test: * tests/parse.test: * library/auto.tcl: Replaced several [eval]s used to perform * library/package.tcl: argument expansion with the new syntax. * library/safe.tcl: In the test files lindex.test and lset.test, * tests/cmdInfo.test: replaced use of [eval] to force direct * tests/encoding.test: string evaluation with use of [testevalex] * tests/execute.test: which more directly and robustly serves the * tests/fCmd.test: same purpose. * tests/http.test: * tests/init.test: * tests/interp.test: * tests/io.test: * tests/ioUtil.test: * tests/iogt.test: * tests/lindex.test: * tests/lset.test: * tests/namespace-old.test: * tests/namespace.test: * tests/pkg.test: * tests/pkgMkIndex.test: * tests/proc.test: * tests/reg.test: * tests/trace.test: * tests/upvar.test: * tests/winConsole.test: * tests/winFCmd.test: FossilOrigin-Name: cbfb8313bae848d0c0a2070542fbc2e4fa371ba2
* * tests/async.test: Added several tests that demonstrate Tcldgp2003-07-241-3/+3
| | | | | | | | | | | | * tests/basic.test: Bug 489537, Tcl's longstanding failure to * tests/dict.test: properly quote any leading '#' character * tests/dstring.test: when generating the string rep of a list * tests/list.test: so that the comment-power of that character * tests/parse.test: is hidden from any [eval], in order to * tests/util.test: satisfy the documentation that [list] does [eval]-safe quoting. FossilOrigin-Name: 03d3df98ff7cdfa4ebd84d70cf3d5ecb99bab3c5
* Added further coverage tests.dgp2003-04-011-1/+41
| | | FossilOrigin-Name: c2b35b7ba8c7284aa39997e38b1ba0a6cb524674
* * generic/tclExecute.c (INST_RETURN): Bytecompiled [return] faileddgp2003-04-011-2/+4
| | | | | | | | to reset iPtr->returnCode, causing tests parse-18.17 and parse-18.21 to fail strangely. * tests/parse.test (parse-18.21): Corrected now functioning test. FossilOrigin-Name: 3b44f60bef0d3d886865ffc200e9b2eeeb1bea83
* * tests/parse.test (parse-18.*): Coverage tests for the newdgp2003-03-311-1/+68
| | | | | | | implementation of Tcl_SubstObj(). Note that tests parse-18.17 and parse-18.21 demonstrate some bugs left to fix in the current code. FossilOrigin-Name: fdede0487d85e0a171d498a39b3ac16814aa698e
* More elimination of dup test numbers [Bugs 710365, 710369]dkf2003-03-271-2/+2
| | | FossilOrigin-Name: 195a1e4b1cee20d471ea71d823f99d008eb39c54
* Don Porter's fix for bad parsing of nested scripts [Bug 681841].msofer2003-02-161-1/+5
| | | FossilOrigin-Name: 13c34f1df965be2a2dcdba3a6efa2406bac99e66
* remove excess EOF whitespacehobbs2003-02-111-14/+1
| | | FossilOrigin-Name: ad24f00755b062128bb181b0722403912baec6d5
* * generic/tclParse.cmsofer2003-02-111-1/+5
| | | | | | * tests/parse.test: fix for [Bug 684744], by Don Porter. FossilOrigin-Name: 0240a75766a28f9b577f0290015e80ab923ae5a6
* Patch for [TIP 56], [Bug: 219384] and [Bug: 455151]: deprecate the usemsofer2001-09-131-1/+5
| | | | | | of Tcl_EvalTokens, replaced by the new Tcl_EvalTokensStandard. FossilOrigin-Name: 3e892aa048440da5816da89bcdd275c9a1fa41c6
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948]. FossilOrigin-Name: c2f93a113cfcb17a21da67cc20f54ab3f1b9fa3c
* * win/Makefile.in: Added COMPILE_DEBUG_FLAGS macro to make itstanton1999-08-121-10/+13
| | | | | | | | | | | easier to turn on compiler tracing. * tests/parse.test: * generic/tclParse.c: Fixed bug in Tcl_EvalEx where the termOffset was not being updated in cases where the evaluation returned a non TCL_OK error code. [Bug: 2535] FossilOrigin-Name: ce8026cea8c676dfd5b6c07892241003d6efe241
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
| | | FossilOrigin-Name: fdb0602e41e62bf526806c165dbf3f33a718fd37
* * Merged changes from 8.1.0 branchstanton1999-04-301-1/+5
| | | FossilOrigin-Name: dc45694c11c7ad43dd4c5dca49bfe1d7cedec9bb
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-535/+722
| | | FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
* Replaced SCCS strings, fixed binary filescore-8-0-3stanton1998-09-141-1/+1
| | | FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
* Initial revisionrjohnson1998-03-261-0/+556
FossilOrigin-Name: f86c34e38d2a946e0ed196001fd756c57f90791a