diff options
author | dgp <dgp@users.sourceforge.net> | 2007-07-11 14:43:46 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2007-07-11 14:43:46 (GMT) |
commit | 2c819f71e6342fb519e96c5cb316a08b63adeaa9 (patch) | |
tree | 826c57ab3612b66148b5e5059e49f86467f2c3a8 /generic/tclIORChan.c | |
parent | f010370ffaaa227e9f89fe613d832a2c36b5f648 (diff) | |
download | tcl-2c819f71e6342fb519e96c5cb316a08b63adeaa9.zip tcl-2c819f71e6342fb519e96c5cb316a08b63adeaa9.tar.gz tcl-2c819f71e6342fb519e96c5cb316a08b63adeaa9.tar.bz2 |
* generic/tclCompExpr.c: Added a "parseOnly" flag argument to
ParseExpr() to indicate whether the caller is Tcl_ParseExpr(), with an
end goal of filling a Tcl_Parse with Tcl_Tokens representing the
parsed expression, or TclCompileExpr() with the goal of compiling and
executing the expression. In the latter case, more aggressive
conversion of QUOTED and BRACED lexeme to literals is done. In the
former case, all such conversion is avoided, since Tcl_Token production
would revert it anyway. This enables simplifications to the
GenerateTokensForLiteral() routine as well.
Diffstat (limited to 'generic/tclIORChan.c')
0 files changed, 0 insertions, 0 deletions