From 624c026c5831b87588625a56b28a1d7e3d4354ce Mon Sep 17 00:00:00 2001 From: welch Date: Fri, 24 Jul 1998 14:48:45 +0000 Subject: *** empty log message *** --- doc/library.n | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/library.n b/doc/library.n index 215a569..efdcb5a 100644 --- a/doc/library.n +++ b/doc/library.n @@ -16,6 +16,7 @@ library \- standard library of Tcl procedures \fBauto_execok \fIcmd\fR \fBauto_load \fIcmd\fR \fBauto_mkindex \fIdir pattern pattern ...\fR +\fBauto_mkindex_old \fIdir pattern pattern ...\fR \fBauto_reset\fR \fBparray \fIarrayName\fR .VS @@ -121,7 +122,15 @@ For example, the command will read all the \fB.tcl\fR files in subdirectory \fBfoo\fR and generate a new index file \fBfoo/tclIndex\fR. .PP -\fBAuto_mkindex\fR parses the Tcl scripts in a relatively +\fBAuto_mkindex\fR parses the Tcl scripts by sourcing them +into a slave interpreter and monitoring the proc and +namespace commands that are executed. +Extensions can use the (undocumented) +auto_mkindex_parser package to register other commands that +can contribute to the auto_load index. +You will have to read through init.tcl to see how this works. +.PP +\fBAuto_mkindex_old\fR parses the Tcl scripts in a relatively unsophisticated way: if any line contains the word \fBproc\fR as its first characters then it is assumed to be a procedure definition and the next word of the line is taken as the -- cgit v0.12