From a68fb83f3a0ddf20cf49ad435a61c41cfc0dd1f3 Mon Sep 17 00:00:00 2001 From: welch Date: Fri, 13 Aug 1999 19:01:04 +0000 Subject: Minor tweaks to get these pages through the HTML converter --- doc/GetIndex.3 | 4 ++-- doc/catch.n | 6 +----- doc/tcltest.n | 12 ++++++------ 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/doc/GetIndex.3 b/doc/GetIndex.3 index 8ba28ba..000c5e4 100644 --- a/doc/GetIndex.3 +++ b/doc/GetIndex.3 @@ -4,7 +4,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: GetIndex.3,v 1.4 1999/06/28 23:49:31 redman Exp $ +'\" RCS: @(#) $Id: GetIndex.3,v 1.5 1999/08/13 19:01:04 welch Exp $ '\" .so man.macros .TH Tcl_GetIndexFromObj 3 8.1 Tcl "Tcl Library Procedures" @@ -82,7 +82,7 @@ the matching index immediately without having to redo the lookup operation. Note: \fBTcl_GetIndexFromObj\fR assumes that the entries in \fItablePtr\fR are static: they must not change between invocations. If the value of \fIobjPtr\fR is the empty string, -\fTcl_GetIndexFromObj\fR will treat it as a non-matching value +\fBTcl_GetIndexFromObj\fR will treat it as a non-matching value and return TCL_ERROR. .VS .PP diff --git a/doc/catch.n b/doc/catch.n index 23771f9..885768f 100644 --- a/doc/catch.n +++ b/doc/catch.n @@ -5,7 +5,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: catch.n,v 1.3 1999/04/16 00:46:34 stanton Exp $ +'\" RCS: @(#) $Id: catch.n,v 1.4 1999/08/13 19:01:04 welch Exp $ '\" .so man.macros .TH catch n "8.0" Tcl "Tcl Built-In Commands" @@ -46,25 +46,21 @@ error. The \fBcatch\fR command may be used in an \fBif\fR to branch based on the success of a script. -.DS .CS if { [catch {open $someFile w} fid] } { puts stderr "Could not open $someFile for writing\\n$fid" exit 1 } .CE -.DE The \fBcatch\fR command will not catch compiled syntax errors. The first time proc \fBfoo\fR is called, the body will be compiled and a Tcl error will be generated. -.DS .CS proc foo {} { catch {expr {1 +- }} } .CE -.DE .SH KEYWORDS catch, error diff --git a/doc/tcltest.n b/doc/tcltest.n index 557fac3..f597bd8 100644 --- a/doc/tcltest.n +++ b/doc/tcltest.n @@ -6,7 +6,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: tcltest.n,v 1.4 1999/07/26 22:50:53 jenn Exp $ +'\" RCS: @(#) $Id: tcltest.n,v 1.5 1999/08/13 19:01:05 welch Exp $ '\" .so man.macros .TH "Tcltest" n 8.2 Tcl "Tcl Built-In Commands" @@ -21,7 +21,7 @@ Tcltest \- Test harness support code and utilities .sp \fB::tcltest::cleanupTests \fI?runningMultipleTests?\fR .sp -\fB::tcltest::getMatchingTestFiles +\fB::tcltest::getMatchingTestFiles\fR .sp \fB::tcltest::makeFile \fIcontents name\fR .sp @@ -37,11 +37,11 @@ Tcltest \- Test harness support code and utilities .sp \fB::tcltest::bytestring \fIstring\fR .sp -\fB::tcltest::saveState +\fB::tcltest::saveState\fR .sp -\fB::tcltest::restoreState +\fB::tcltest::restoreState\fR .sp -\fB::tcltest::threadReap +\fB::tcltest::threadReap\fR .BE .SH DESCRIPTION .PP @@ -617,7 +617,7 @@ print additional usage information specific to your situation. \fB::tcltest::processCmdLineArgsFlagHook\fP tell the test harness about additional flags that you want it to understand. .TP -\fB::tcltest::processCmdLineArgsHook\fR flags\fP +\fB::tcltest::processCmdLineArgsHook\fR \fIflags\fP process the additional flags that you told the harness about in ::tcltest::processCmdLineArgsFlagHook. .TP -- cgit v0.12