diff options
author | Andreas Scherer <andreas_tex@freenet.de> | 2023-08-08 15:24:40 +0000 |
---|---|---|
committer | Andreas Scherer <andreas_tex@freenet.de> | 2023-08-08 15:24:40 +0000 |
commit | fca7bfd95d81e76b71fb751245011a9538adda68 (patch) | |
tree | f3cedd7c7f55b80caeae8bfa7f672ad74ea935c4 /Build/source/texk/web2c/cwebdir/cweave.w | |
parent | c35c194133acc8ef2e53e151da9b26f70bfef5e2 (diff) |
[CWEB] Mark a few 'system dependencies' for the index.
git-svn-id: svn://tug.org/texlive/trunk@67846 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/cwebdir/cweave.w')
-rw-r--r-- | Build/source/texk/web2c/cwebdir/cweave.w | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Build/source/texk/web2c/cwebdir/cweave.w b/Build/source/texk/web2c/cwebdir/cweave.w index e8238e3056d..4391d95c397 100644 --- a/Build/source/texk/web2c/cwebdir/cweave.w +++ b/Build/source/texk/web2c/cwebdir/cweave.w @@ -241,7 +241,7 @@ to one-letter identifiers or \CEE/'s reserved words. If the user has sent the |no_xref| flag (the \.{-x} option of the command line), it is unnecessary to keep track of cross-references for identifiers. If one were careful, one could probably make more changes around section -115 to avoid a lot of identifier looking up. +|@<Match a prod...@>| to avoid a lot of identifier looking up. @d append_xref(c) if (xref_ptr==xmem_end) overflow("cross-reference"); else (++xref_ptr)->num=c @@ -3810,7 +3810,7 @@ text_pointer p) { if (stack_ptr==stack_end) overflow("stack"); if (stack_ptr>stack) /* save current state */ - *stack_ptr = cur_state; + *stack_ptr = cur_state;@^system dependencies@> stack_ptr++; if (stack_ptr>max_stack_ptr) max_stack_ptr=stack_ptr; cur_tok=*p; cur_end=*(p+1); @@ -3820,7 +3820,7 @@ text_pointer p) force when the current level was begun. This subroutine will never be called when |stack_ptr==1|. It is so simple, we declare it as a macro: -@d pop_level() cur_state = *(--stack_ptr) +@d pop_level() cur_state = *(--stack_ptr)@^system dependencies@> @ The |get_output| function returns the next byte of output that is not a reference to a token list. It returns the values |identifier| or |res_word| @@ -4242,7 +4242,7 @@ else { loc++; } else { - for (sec_depth=0; xisdigit(*loc);loc++) + for (sec_depth=0; xisdigit(*loc);loc++)@^system dependencies@> if (sec_depth < INT_MAX / 10) sec_depth = sec_depth*10 + (*loc) -'0'; } while (*loc == ' ') loc++; /* remove spaces before group title */ @@ -4666,7 +4666,7 @@ needs to be changed if ASCII code is not being used. @^high-bit character handling@> We initialize |collate| by copying a few characters at a time, because -some \CEE/ compilers choke on long strings. +some \CEE/ compilers choke on long strings.@^system dependencies@> @<Set init...@>= collate[0]=0; @@ -4864,7 +4864,7 @@ void print_stats(void) { puts("\nMemory usage statistics:"); @.Memory usage statistics:@> - printf("%td names (out of %ld)\n", + printf("%td names (out of %ld)\n",@^system dependencies@> (ptrdiff_t)(name_ptr-name_dir),(long)max_names); printf("%td cross-references (out of %ld)\n", (ptrdiff_t)(xref_ptr-xmem),(long)max_refs); |