diff options
author | dgp <dgp@users.sourceforge.net> | 2011-05-02 17:36:27 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2011-05-02 17:36:27 (GMT) |
commit | 18503cb00a32b1fcb0cb46b7b3649903f38c989a (patch) | |
tree | 6f65c0c47bdc92c47d2ef7ec544c6961aca11467 /tests/for.test | |
parent | ef87219015417dcab0f3aae83834c2c00cdb5607 (diff) | |
download | tcl-18503cb00a32b1fcb0cb46b7b3649903f38c989a.zip tcl-18503cb00a32b1fcb0cb46b7b3649903f38c989a.tar.gz tcl-18503cb00a32b1fcb0cb46b7b3649903f38c989a.tar.bz2 |
Revised TclFindElement() interface.
The final argument had been bracePtr, the address of a boolean var, where
the caller can be told whether or not the parsed list element was enclosed
in braces. In practice, no callers really care about that. What the
callers really want to know is whether the list element value exists as a
literal substring of the string being parsed, or whether a call to
TclCopyAndCollpase() is needed to produce the list element value. Now
the final argument is changed to do what callers actually need. This is
a better fit for the calls in tclParse.c, where now a good deal of
post-processing checking for "naked backslashes" is no longer necessary.
***POTENTIAL INCOMPATIBILITY***
For any callers calling in via the internal stubs table who really do use
the final argument explicitly to check for the enclosing brace scenario.
Simply looking for the braces where they must be is the revision available
to those callers, and it will backport cleanly.
Diffstat (limited to 'tests/for.test')
0 files changed, 0 insertions, 0 deletions