Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * generic/tclBasic.c (Tcl_EvalTokensStandard): | dgp | 2003-03-13 | 1 | -10/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCmdMZ.c (Tcl_SubstObj): * generic/tclCompCmds.c (TclCompileSwitchCmd): * generic/tclCompExpr.c (CompileSubExpr): * generic/tclCompile.c (TclSetByteCodeFromAny,TclCompileScript, TclCompileTokens,TclCompileCmdWord): * generic/tclCompile.h (TclCompileScript): * generic/tclExecute.c (TclCompEvalObj): * generic/tclInt.h (Interp,TCL_BRACKET_TERM,TclSubstTokens): * generic/tclParse.c (ParseTokens,Tcl_SubstObj,TclSubstTokens): * tests/subst.test (2.4, 8.7, 8.8, 11.4, 11.5): Substantial refactoring of Tcl_SubstObj to make use of the same parsing and substitution procedures as normal script evaluation. Tcl_SubstObj() moved to tclParse.c. New routine TclSubstTokens() created in tclParse.c which implements all substantial functioning of Tcl_EvalTokensStandard(). TclCompileScript() loses its "nested" argument, the Tcl_Interp struct loses its termOffset field and the TCL_BRACKET_TERM flag in the evalFlags field, all of which were only used (indirectly) by Tcl_SubstObj(). Tests subst-8.7,8.8,11.4,11.5 modified to accomodate the only behavior change: reporting of parse errors now takes precedence over [return] and [continue] exceptions. All other behavior should | ||||
* | Don Porter's fix for bad parsing of nested scripts [Bug 681841]. | Miguel Sofer | 2003-02-16 | 1 | -3/+3 |
| | |||||
* | * tests/subst.test: added 5.8-10 as further tests for [Bug 495207] | Miguel Sofer | 2002-08-08 | 1 | -1/+15 |
| | |||||
* | * Corrected [subst] so that return codes | dgp | 2002-04-05 | 1 | -1/+13 |
| | | | | | | TCL_BREAK and TCL_CONTINUE returned by variable substitution have the same effect as when those codes are returned by command substitution. [Bug 536879] | ||||
* | avoiding a buffer overrun in [subst]; restoring tcl7.6 behaviour [Bug #495207] | Miguel Sofer | 2002-02-25 | 1 | -1/+13 |
| | |||||
* | TIP#36 implementation. Also includes cleanup for subst option | dkf | 2001-07-12 | 1 | -8/+8 |
| | | | | | handling and improved documentation for the subst command (in my capacity as maintainer of the Commands M-Z functional area.) | ||||
* | * tests/subst.test: | hobbs | 2001-06-28 | 1 | -1/+6 |
| | | | | | * generic/tclUtf.c (Tcl_UtfBackslash): Corrected backslash handling of multibyte utf-8 chars. [Bug #217987] | ||||
* | * tests/subst.test: added tests for non-zero return code handling | hobbs | 2000-11-01 | 1 | -14/+66 |
| | | | | | | by subst. * generic/tclParse.c (Tcl_EvalEx): corrected handling of non-zero, non-error return code cases for subst. [BUG: 119829] | ||||
* | * tests/*.test: Changed all occurances of "namespace import | ericm | 2000-04-10 | 1 | -2/+2 |
| | | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948]. | ||||
* | Fixed style problems in many of the test files. | rjohnson | 1999-06-26 | 1 | -2/+2 |
| | | | | Fixed bug in pkg.test where defs.tcl was still being used. | ||||
* | Modified the tests to use the package tcltest | jenn | 1999-06-26 | 1 | -2/+3 |
| | |||||
* | merged tcl 8.1 branch back into the main trunk | stanton | 1999-04-16 | 1 | -3/+22 |
| | |||||
* | Replaced SCCS strings, fixed binary filescore_8_0_3 | stanton | 1998-09-14 | 1 | -1/+1 |
| | |||||
* | Initial revision | rjohnson | 1998-03-26 | 1 | -0/+106 |