Overview
| Artifact ID: | f5ebd2b029531af10c2c29be20dceead4453c21d |
|---|---|
| Ticket: | 536831ffffffffffffffffffffffffffffffffff
Tcl_SubstObj: add precompilation |
| User & Date: | dgp on 2003-03-08 03:42:53 |
Changes
- assignee changed to: "dkf"
- icomment:
File Added - 44395: subst.patch Logged In: YES user_id=80530 Here's a patch that completely replaces Tcl_SubstObj() with a new implementation that makes use of the same (slightly modified) internal parsing and substitution engines as normal script evaluation. The script-level difference that will be seen is reflected in the 7 tests in subst.test that fail after applying this patch. They fail because this patch changes the way [subst] deals with parsing errors. As requested by this Feature Request (and in agreement with the way "-quoted words get substituted in normal Tcl scripts), after applying this patch parsing errors will be detected and reported before anything else. This patch also paves the way for a larger cleanup in the inner evaluation routines, making them smaller and simpler (see FR 684982). This patch also fixes Bug 685106. By making better code re-use, this patch also set the stage for any parsing improvements for normal script evaluation (for example, a Tcl_ObjType that caches pased token sequences) to equally benefit the [subst] command.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"