diff options
author | dgp <dgp@users.sourceforge.net> | 2013-07-18 20:27:01 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-07-18 20:27:01 (GMT) |
commit | 06b6a3eb94e2e9cd2c73e08ba68bb234bf6b6d4f (patch) | |
tree | 054d9ea09ad9e162f640d47306181917d0f14df2 /unix | |
parent | 517197f8571ca5ff1c51b2cadc771505922d9137 (diff) | |
parent | f06af4fe86a953a20b9ef90f5605331707370765 (diff) | |
download | tcl-06b6a3eb94e2e9cd2c73e08ba68bb234bf6b6d4f.zip tcl-06b6a3eb94e2e9cd2c73e08ba68bb234bf6b6d4f.tar.gz tcl-06b6a3eb94e2e9cd2c73e08ba68bb234bf6b6d4f.tar.bz2 |
Rewrite of the TclCompileScript() routine.
Primarily this breaks that large, rather convoluted routine into many
smaller more single-purpose routines for greater clarity. This also
permits more sharing of function components. Ensemble compiles now share
the same low level routines as top-level command compiles. This refactoring
should also have the benefit of easing merging between branches by better
locating patches according to what function or data structure they tweak.
Also in this checkin:
Minimized calls to Tcl_ResetResult() during compile.
Several commands compile their detected syntax errors into
bytecode that reports the syntax error.
Significant reform to the TIP 280 machinery, including elimination
of the litInfo hash table. Its function of finding the index
of a compiled command in a script from a pc value has been redone
using the codeDelta information already stored in ByteCode.
Diffstat (limited to 'unix')
0 files changed, 0 insertions, 0 deletions