Tcl Source Code

Attachment Details
Login
Overview

Artifact ID: c3d1d76f51c95abbd561b3aa2dd50a983e1cf7d86f2e2f507816834e0d805dc2
Ticket: a09031e288aae03a8fcf4c0ddde342dfd645e0e0
Date: 2018-12-10 20:21:09
User: leon
Artifact Attached: 3b68b7cd8131a42a46e81792f136a4ed448d707357ff5feb63e426d63458b70a
Filename:patch-a09031e288-quickfix.diff-c50-w
Description:Added build-time and run-time control over the tradeoff between performance and debuggability of Tcl source code. The environment variable TCL_INFO_FRAME_ENABLE_ACCURATE_LINE_NUMBERS is checked during the startup of the Tcl interpreter, and if its value is 0 then line continuations (backslash+newline) sequences are not tracked (thus resulting in improved performance). For any other value of that environment variable the line continuations are tracked and correct line numbers are reported by [info frame]. When the TCL_INFO_FRAME_ENABLE_ACCURATE_LINE_NUMBERS envvar is not set, the default value defined by the macro of the same name provided during build is assumed (if the macro is not specified during the build either, then it defaults to 1, i.e. this change is backward compatible).
Content:
(file is 17003 bytes of binary data)