Tcl Source Code

Check-in [77a5609058]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix the documentation comment.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | Coverity CID 1251203
Files: files | file ages | folders
SHA1: 77a560905878eed974781ae87fd25fbbe52de18d
User & Date: dkf 2015-08-03 07:18:13
Context
2015-08-03
07:21
Fix problems with break and continue in for-step clauses, triggered by reporting of Coverity CID 125... check-in: 0db7a63c31 user: dkf tags: trunk
07:18
Fix the documentation comment. Closed-Leaf check-in: 77a5609058 user: dkf tags: Coverity CID 1251203
2015-08-02
16:17
And another problem with continue in for-step clauses, this time a problem in how TEBC handled an ed... check-in: f489f70210 user: dkf tags: Coverity CID 1251203
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/tclExecute.c.

10108
10109
10110
10111
10112
10113
10114


10115
10116
10117
10118
10119

10120
10121
10122
10123
10124
10125
10126
10127
10128
 *
 * GetExceptRangeForPc --
 *
 *	Given a program counter value, return the closest enclosing
 *	ExceptionRange.
 *
 * Results:


 *	In the normal case, catchOnly is 0 (false) and this procedure returns
 *	a pointer to the most closely enclosing ExceptionRange structure
 *	regardless of whether it is a loop or catch exception range. This is
 *	appropriate when processing a TCL_BREAK or TCL_CONTINUE, which will be
 *	"handled" either by a loop exception range or a closer catch range. If

 *	catchOnly is nonzero, this procedure ignores loop exception ranges and
 *	returns a pointer to the closest catch range. If no matching
 *	ExceptionRange is found that encloses pc, a NULL is returned.
 *
 * Side effects:
 *	None.
 *
 *----------------------------------------------------------------------
 */







>
>
|
|
|
<
<
>
|
|







10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119


10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
 *
 * GetExceptRangeForPc --
 *
 *	Given a program counter value, return the closest enclosing
 *	ExceptionRange.
 *
 * Results:
 *	If the searchMode is TCL_ERROR, this procedure ignores loop exception
 *	ranges and returns a pointer to the closest catch range. If the
 *	searchMode is TCL_BREAK, this procedure returns a pointer to the most
 *	closely enclosing ExceptionRange regardless of whether it is a loop or
 *	catch exception range. If the searchMode is TCL_CONTINUE, this


 *	procedure returns a pointer to the most closely enclosing
 *	ExceptionRange (of any type) skipping only loop exception ranges if
 *	they don't have a sensible continueOffset defined. If no matching
 *	ExceptionRange is found that encloses pc, a NULL is returned.
 *
 * Side effects:
 *	None.
 *
 *----------------------------------------------------------------------
 */