Overview
| Artifact ID: | f1b3710b2911cd682d0bd9de876c42b19b61f738 |
|---|---|
| Ticket: | 1749987fffffffffffffffffffffffffffffffff
Tcl_ParseExpr does not return error type or location |
| User & Date: | kennykb on 2007-07-08 18:59:19 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
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).
- foundin changed to: "obsolete: 8.5a7"
- is_private changed to: "0"
- priority changed to: "7 High"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "kennykb"
- subsystem changed to: "45. Parsing and Eval"
- title changed to:
Tcl_ParseExpr does not return error type or location
- type changed to: "Bug"