diff options
author | dgp <dgp@users.sourceforge.net> | 2011-05-02 20:17:50 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2011-05-02 20:17:50 (GMT) |
commit | b670c3cc9cd25e3c0bfcb9dc0025c79558b78d90 (patch) | |
tree | ef3b5e015a4811a57a9eb36926e198d8d5545c88 /generic/tclLink.c | |
parent | 1658668d010de46f70b608c5c2edfba8f0b87b7c (diff) | |
parent | 4f558942fb97b0dd3652ee2a257fe94b1dc3a8db (diff) | |
download | tcl-b670c3cc9cd25e3c0bfcb9dc0025c79558b78d90.zip tcl-b670c3cc9cd25e3c0bfcb9dc0025c79558b78d90.tar.gz tcl-b670c3cc9cd25e3c0bfcb9dc0025c79558b78d90.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.
Tests for expanded literals quoting detection.
Diffstat (limited to 'generic/tclLink.c')
0 files changed, 0 insertions, 0 deletions