Skip to content
Tcl Source Code Check-in [15c562285e]
Login

Check-in [15c562285e]

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: 15c562285e489609b97da85229b80a89e6e65f2f
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