diff options
author | welch <welch> | 1998-07-24 14:48:45 (GMT) |
---|---|---|
committer | welch <welch> | 1998-07-24 14:48:45 (GMT) |
commit | 624c026c5831b87588625a56b28a1d7e3d4354ce (patch) | |
tree | 1cb7678ec323e88416efdc7f400e50de5a212665 | |
parent | 8f081319f9e8507c94b6a2a0a58db00913ccdab9 (diff) | |
download | tcl-624c026c5831b87588625a56b28a1d7e3d4354ce.zip tcl-624c026c5831b87588625a56b28a1d7e3d4354ce.tar.gz tcl-624c026c5831b87588625a56b28a1d7e3d4354ce.tar.bz2 |
*** empty log message ***
-rw-r--r-- | doc/library.n | 11 |
1 files changed, 10 insertions, 1 deletions
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 |