diff options
| author | dkf <donal.k.fellows@manchester.ac.uk> | 2015-08-03 07:18:13 (GMT) |
|---|---|---|
| committer | dkf <donal.k.fellows@manchester.ac.uk> | 2015-08-03 07:18:13 (GMT) |
| commit | 4e411a89fe3bb8d47bf960e738a5b484b53b2757 (patch) | |
| tree | 108bcc3c44075bc53eb563f26b7a5461b5a4167d | |
| parent | 93b515b360554cec015664179980a7a550f13ae8 (diff) | |
| download | tcl-4e411a89fe3bb8d47bf960e738a5b484b53b2757.zip tcl-4e411a89fe3bb8d47bf960e738a5b484b53b2757.tar.gz tcl-4e411a89fe3bb8d47bf960e738a5b484b53b2757.tar.bz2 | |
Fix the documentation comment.
| -rw-r--r-- | generic/tclExecute.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c index 2fa0928..8ada6d2 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -10112,13 +10112,14 @@ GetSrcInfoForPc( * 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 + * 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: |
