summaryrefslogtreecommitdiffstats
path: root/tests/proc.test
Commit message (Collapse)AuthorAgeFilesLines
* * doc/ParseCmd.3: Implementation of TIP 157. Adds recognitiondgp2003-11-141-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * generic/tclProc.c (ProcessProcResultCode): Fix failure todgp2002-12-111-1/+10
| | | | | | | propagate negative return codes up the call stack. [Bug 647307] * tests/proc.test (proc-6.1): Test for Bug 647307 FossilOrigin-Name: b05c44bcd8dde75542e336a80a312d744070a0a8
* Bytecompiling noops [FQ #451441]msofer2001-09-101-1/+18
| | | FossilOrigin-Name: 7cd15dc85668ede3c1ca8387392736bbcef93a0f
* made [proc] check that formal args have simple names [Bug: 458548]msofer2001-09-041-1/+6
| | | FossilOrigin-Name: 1f598f46700ec95a1e3adfe43a62f49a0323d577
* * tests/compile.test:hobbs2000-05-031-2/+2
| | | | | | | | | | | | * tests/init.test: * tests/proc.test: * tests/proc-old.test: * tests/rename.test: * generic/tclProc.c: reworked error return for procedures with incorrect args to be like the C Tcl_WrongNumArgs, where a "wrong # args: ..." message is printed out with the args list. FossilOrigin-Name: e9b0d62a314c7178b66e1ff13d409decb92ff035
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948]. FossilOrigin-Name: c2f93a113cfcb17a21da67cc20f54ab3f1b9fa3c
* Fixed style problems in many of the test files.rjohnson1999-06-261-2/+2
| | | | | | Fixed bug in pkg.test where defs.tcl was still being used. FossilOrigin-Name: dbfd75f43f496269e869e2fbd58f86e25bdcef4c
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
| | | FossilOrigin-Name: fdb0602e41e62bf526806c165dbf3f33a718fd37
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-2/+21
| | | FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
* Added a new Tcl object called "procbody"; this object's internalescoffon1998-10-051-1/+131
| | | | | | | | | representation contains both a Proc struct and its associated ByteCode. Updated tclProc.c::TclCreateProc to take procbody instances as the body argument, for future support of compiler extensions. Added the "procbodytest" package for testing all this stuff. FossilOrigin-Name: 0aa459d72f6b4b36bc6ce6cbf2e6caa923b60acd
* Replaced SCCS strings, fixed binary filescore-8-0-3stanton1998-09-141-1/+1
| | | FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
* Initial revisionrjohnson1998-03-261-0/+163
FossilOrigin-Name: f86c34e38d2a946e0ed196001fd756c57f90791a