diff options
author | dgp <dgp@users.sourceforge.net> | 2008-01-23 19:41:19 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2008-01-23 19:41:19 (GMT) |
commit | f7f6ddb4ce3ce465107777a9a2c408dd8ab473dc (patch) | |
tree | 1c55178d6b1eb4273b96b9e83576b57f711f44c7 /unix/tclConfig.h.in | |
parent | d3dba3f8855bf00200865c0c8b783e4bd57d1b32 (diff) | |
download | tcl-f7f6ddb4ce3ce465107777a9a2c408dd8ab473dc.zip tcl-f7f6ddb4ce3ce465107777a9a2c408dd8ab473dc.tar.gz tcl-f7f6ddb4ce3ce465107777a9a2c408dd8ab473dc.tar.bz2 |
* generic/tclInt.h: New macro TclGrowParseTokenArray() to
* generic/tclCompCmds.c: simplify code that might need to grow
* generic/tclCompExpr.c: an array of Tcl_Tokens in the parsePtr
* generic/tclParse.c: field of a Tcl_Parse. Replaces the
TclExpandTokenArray() routine via replacing:
int needed = parsePtr->numTokens + growth;
while (needed > parsePtr->tokensAvailable) {
TclExpandTokenArray(parsePtr);
}
with:
TclGrowParseTokenArray(parsePtr, growth);
This revision merged over from dgp-refactor branch.
Diffstat (limited to 'unix/tclConfig.h.in')
0 files changed, 0 insertions, 0 deletions