Overview
| Comment: | * 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. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
67ae611ad693513f949f7989e8500f14 |
| User & Date: | dgp on 2007-07-11 14:43:46.000 |
| Other Links: | manifest | tags |
Context
|
2007-07-11
| ||
| 21:27 | 2007-07-11 Miguel Sofer <[email protected]> * generic/tclCompCmds.c (TclCompileWhileCmd): * g... check-in: c7bb9fa5b4 user: msofer tags: trunk | |
| 14:43 | * generic/tclCompExpr.c: Added a "parseOnly" flag argument to ParseExpr() to ... check-in: 67ae611ad6 user: dgp tags: trunk | |
|
2007-07-10
| ||
| 21:37 | Renamed some variables for clarity and replaced some cryptic logic with more readable macros... check-in: 7b139de96e user: dgp tags: trunk | |
Changes
Modified ChangeLog
from [df16f450c3]
to [10774c54a1].
[diff]
Modified generic/tclCompExpr.c
from [494dba65c7]
to [24ae9f5e2b].
[diff]