diff options
author | welch <welch@noemail.net> | 1998-07-24 14:48:45 (GMT) |
---|---|---|
committer | welch <welch@noemail.net> | 1998-07-24 14:48:45 (GMT) |
commit | e2bbe883973bc8ffa5820e98a54d4bdb41aef4b3 (patch) | |
tree | 1cb7678ec323e88416efdc7f400e50de5a212665 /doc | |
parent | 4289f055b8a3608cb3a4fab0efefa239a806badb (diff) | |
download | tcl-e2bbe883973bc8ffa5820e98a54d4bdb41aef4b3.zip tcl-e2bbe883973bc8ffa5820e98a54d4bdb41aef4b3.tar.gz tcl-e2bbe883973bc8ffa5820e98a54d4bdb41aef4b3.tar.bz2 |
*** empty log message ***
FossilOrigin-Name: 2f7fe11e9454ed16f6ec3dd21804205f51699609
Diffstat (limited to 'doc')
-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 |