Overview
| Comment: | * generic/tclBasic.c (Tcl_EvalTokensStandard): * 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 |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
15c562285e489609b97da85229b80a89 |
| User & Date: | dgp on 2003-03-13 02:48:51.000 |
| Other Links: | manifest | tags |
Context
|
2003-03-13
| ||
| 10:39 | Require autoconf 2.57 or newer, see TIP 34 for a detailed explanation of why this is good. This w... check-in: e8d2110460 user: mdejong tags: trunk | |
| 02:48 | * generic/tclBasic.c (Tcl_EvalTokensStandard): * generic/tclCmdMZ.c (Tcl_SubstObj): ... check-in: 15c562285e user: dgp tags: trunk | |
|
2003-03-12
| ||
| 19:21 | * generic/tcl.h: Removed TCL_PREFIX_IDENT and TCL_DEBUG_IDENT * win/tclWinPip... check-in: 97b95e0cee user: dgp tags: trunk | |
Changes
Modified ChangeLog
from [ed125c4485]
to [e3d4358f89].
[diff]
Modified generic/tclBasic.c
from [2dc5c9d483]
to [e696620521].
[diff]
Modified generic/tclCmdMZ.c
from [013d12e327]
to [17fe1cd511].
[diff]
Modified generic/tclCompCmds.c
from [1530597f72]
to [3a260dfe8c].
[diff]
Modified generic/tclCompExpr.c
from [cabd4b3a75]
to [38c6070aa1].
[diff]
Modified generic/tclCompile.c
from [7e1dc72ecd]
to [90e5663a8e].
[diff]
Modified generic/tclCompile.h
from [f242afd43c]
to [bedf66db3e].
[diff]
Modified generic/tclExecute.c
from [ecf958c8e3]
to [7ded9484a4].
[diff]
Modified generic/tclInt.h
from [ab377d3d33]
to [7e6e3616b7].
[diff]
Modified generic/tclParse.c
from [4cd5687ce9]
to [80d0e1ef0b].
[diff]
Modified tests/subst.test
from [fbe855d84a]
to [df2c3da83a].
[diff]