|
2007-07-09
| ||
| 21:50 | • Closed ticket [1749987fff]: Tcl_ParseExpr does not return error type or location... artifact: 40b3001ed3 user: dgp | |
| 21:50 | • Add attachment 1749987.patch to ticket [1749987fff] artifact: 3b6c19b15b user: dgp | |
| 19:37 | • Ticket [1749987fff] Tcl_ParseExpr does not return error type or location sta... artifact: 50e9a2f3b8 user: dgp | |
| 01:59 | • Ticket [1749987fff]: 4 changes artifact: 5957337b68 user: kennykb | |
| 01:59 | • Add attachment compExpr.patch to ticket [1749987fff] artifact: 5b23394371 user: kennykb | |
|
2007-07-08
| ||
| 18:59 | • New ticket [1749987fff] Tcl_ParseExpr does not return error type or location... artifact: f1b3710b29 user: kennykb | |
Tcl_ParseExpr does not return error type or location
Closed / Fixed1749987fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-07-08 18:59:19
Tcl_ParseExpr, after the recent refactoring, fails to return parsePtr->errorType and parsePtr->term reporting the location and type of the error. This behaviour causes a panic in the test suite of the 'tclparser' module of TclPro. While 'tclparser' should be more forgiving - panicking in this case is surely not right (and I'm fixing it) - we should still restore the documented results. The attached patch appears to make TclPro's test suite happy. I haven't developed test cases for Tcl's own test suite yet, partly because the relevant commands in tclTest.c don't appear to report parse.errorType (or indeed, report parse.term in all cases).
kennykbplain2007-07-09 01:59:19
File Added - 236157: compExpr.patch
dgpplain2007-07-09 19:37:17
Logged In: YES user_id=80530 Originator: NO Thanks for the alert. This is the TODO on line 1238 of tclCompExpr.c. Now that I know something cares I'll TODO it sooner.
dgpplain2007-07-09 21:50:09
File Added - 236264: 1749987.patch Logged In: YES user_id=80530 Originator: NO updated patch gets another missing parent code. committing.... File Added: 1749987.patch
Log in (anonymous is fine) to add a comment.
Attachments:
- 1749987.patch [download] added by dgp on 2007-07-09 21:50:05. [details]
- compExpr.patch [download] added by kennykb on 2007-07-09 01:59:19. [details]