Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2018-12-10
20:40 • Ticket [a09031e288] Performance in the general case vs accurate output of [info ... artifact: ad51d9b5dc user: leon
20:21 • Add attachment patch-a09031e288-quickfix.diff-c50-w to ticket [a09031e2... artifact: c3d1d76f51 user: leon
2018-12-02
19:30 • Add attachment patch-a09031e288-quickfix.diff.1 to ticket [a09031e288aa... artifact: ad04939aa7 user: leon
12:42 • New ticket [a09031e288] Performance in the general case vs accurate output of [i... artifact: 71f8ea8e44 user: leon

Performance in the general case vs accurate output of [info frame] in the presence of bs+nl

Opena09031e288aae03a8fcf4c0ddde342dfd645e0e0Created 8 years agoUpdated 8 years ago
Descriptionwiki2018-12-02 12:42:38
The issue has been discussed at https://groups.google.com/forum/#!topic/comp.lang.tcl/Qd0Q11CxjgQ. I am filing this ticket so that I can submit a patch for it.

My short-term goal is to provide a quick fix that makes accurate tracking of line numbers in the presence of line continuations (backslash+newline) controllable during compile and/or run time.

leon (claiming to be Added new patch)wiki2018-12-10 20:40:06

The new patch contains roughly everything that should go into a quick-fix.

In the previous (draft) patch I had reported an issue that the experimental change didn't crash where I wouldn't be surprised if it did. The investigation showed that the old code written related to the handling of line continuations contained all required NULL-pointer checks. In particular all calls of the function TclContinuationsEnterDerived are protected with checks that its last argument is non-NULL.

Therefore in this version I just added build- and run-time control over the functionality that was unconditionally disabled by the previous patch.

Log in (anonymous is fine) to add a comment.