diff options
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/web2c/cwebdir/common.w | 10 | ||||
-rw-r--r-- | Build/source/texk/web2c/cwebdir/ctangle.w | 12 | ||||
-rw-r--r-- | Build/source/texk/web2c/cwebdir/cweave.w | 20 |
3 files changed, 21 insertions, 21 deletions
diff --git a/Build/source/texk/web2c/cwebdir/common.w b/Build/source/texk/web2c/cwebdir/common.w index 466456c306d..dcab049db30 100644 --- a/Build/source/texk/web2c/cwebdir/common.w +++ b/Build/source/texk/web2c/cwebdir/common.w @@ -150,7 +150,7 @@ Since |buf_size| is strictly less than |long_buf_size|, some of \.{CWEB}'s routines use the fact that it is safe to refer to |*(limit+2)| without overstepping the bounds of the array. -@d buf_size 100 /* for \.{CWEAVE} and \.{CTANGLE} */ +@d buf_size 1000 /* for \.{CWEAVE} and \.{CTANGLE} */ @d longest_name 1000 @d long_buf_size (buf_size+longest_name) /* for \.{CWEAVE} */ @d xisspace(c) (isspace(c)&&((unsigned char)c<0200)) @@ -412,7 +412,7 @@ If we've just changed from the |cur_file| to the |change_file|, or if the |cur_file| has changed, we tell \.{CTANGLE} to print this information in the \CEE/ file by means of the |print_where| flag. -@d max_sections 2000 /* number of identifiers, strings, section names; +@d max_sections 10239 /* number of identifiers, strings, section names; must be less than 10240 */ @<Defin...@>= @@ -586,9 +586,9 @@ elements are structures of type |name_info|, containing a pointer into the |byte_mem| array (the address where the name begins) and other data. A |name_pointer| variable is a pointer into |name_dir|. -@d max_bytes 90000 /* the number of bytes in identifiers, +@d max_bytes 1000000 /* the number of bytes in identifiers, index entries, and section names; must be less than $2^{24}$ */ -@d max_names 4000 /* number of identifiers, strings, section names; +@d max_names 10239 /* number of identifiers, strings, section names; must be less than 10240 */ @<Definitions that...@>= @@ -639,7 +639,7 @@ function |names_match|, which is slightly different in \.{CWEAVE} and \.{CTANGLE}. If there is no match for the identifier, it is inserted into the table. -@d hash_size 353 /* should be prime */ +@d hash_size 8501 /* should be prime */ @<Defini...@>= typedef name_pointer *hash_pointer; diff --git a/Build/source/texk/web2c/cwebdir/ctangle.w b/Build/source/texk/web2c/cwebdir/ctangle.w index 86d0d0a5103..0c1b52eda72 100644 --- a/Build/source/texk/web2c/cwebdir/ctangle.w +++ b/Build/source/texk/web2c/cwebdir/ctangle.w @@ -109,16 +109,16 @@ so they should be sufficient for most applications of \.{CTANGLE}. If you change |max_bytes|, |max_names|, or |hash_size| you should also change them in the file |"common.w"|. -@d max_bytes 90000 /* the number of bytes in identifiers, +@d max_bytes 1000000 /* the number of bytes in identifiers, index entries, and section names; used in |"common.w"| */ -@d max_toks 270000 /* number of bytes in compressed \CEE/ code */ -@d max_names 4000 /* number of identifiers, strings, section names; +@d max_toks 1000000 /* number of bytes in compressed \CEE/ code */ +@d max_names 10239 /* number of identifiers, strings, section names; must be less than 10240; used in |"common.w"| */ -@d max_texts 2500 /* number of replacement texts, must be less than 10240 */ -@d hash_size 353 /* should be prime; used in |"common.w"| */ +@d max_texts 10239 /* number of replacement texts, must be less than 10240 */ +@d hash_size 8501 /* should be prime; used in |"common.w"| */ @d longest_name 10000 /* section names shouldn't be longer than this */ @d stack_size 50 /* number of simultaneous levels of macro expansion */ -@d buf_size 100 /* for \.{CWEAVE} and \.{CTANGLE} */ +@d buf_size 1000 /* for \.{CWEAVE} and \.{CTANGLE} */ @ The next few sections contain stuff from the file |"common.w"| that must be included in both |"ctangle.w"| and |"cweave.w"|. It appears in diff --git a/Build/source/texk/web2c/cwebdir/cweave.w b/Build/source/texk/web2c/cwebdir/cweave.w index 91b8785bfe9..51f67cba562 100644 --- a/Build/source/texk/web2c/cwebdir/cweave.w +++ b/Build/source/texk/web2c/cwebdir/cweave.w @@ -117,23 +117,23 @@ handle \TEX/, so they should be sufficient for most applications of \.{CWEAVE}. If you change |max_bytes|, |max_names|, |hash_size|, or |buf_size| you have to change them also in the file |"common.w"|. -@d max_bytes 90000 /* the number of bytes in identifiers, +@d max_bytes 1000000 /* the number of bytes in identifiers, index entries, and section names */ -@d max_names 4000 /* number of identifiers, strings, section names; +@d max_names 10239 /* number of identifiers, strings, section names; must be less than 10240; used in |"common.w"| */ -@d max_sections 2000 /* greater than the total number of sections */ -@d hash_size 353 /* should be prime */ -@d buf_size 100 /* maximum length of input line, plus one */ -@d longest_name 10000 /* section names and strings shouldn't be longer than this */ +@d max_sections 10239 /* greater than the total number of sections */ +@d hash_size 8501 /* should be prime */ +@d buf_size 1000 /* maximum length of input line, plus one */ +@d longest_name 1000 /* section names and strings shouldn't be longer than this */ @d long_buf_size (buf_size+longest_name) @d line_length 80 /* lines of \TEX/ output have at most this many characters; should be less than 256 */ -@d max_refs 20000 /* number of cross-references; must be less than 65536 */ -@d max_toks 20000 /* number of symbols in \CEE/ texts being parsed; +@d max_refs 65535 /* number of cross-references; must be less than 65536 */ +@d max_toks 65535 /* number of symbols in \CEE/ texts being parsed; must be less than 65536 */ -@d max_texts 4000 /* number of phrases in \CEE/ texts being parsed; +@d max_texts 10239 /* number of phrases in \CEE/ texts being parsed; must be less than 10240 */ -@d max_scraps 2000 /* number of tokens in \CEE/ texts being parsed */ +@d max_scraps 10000 /* number of tokens in \CEE/ texts being parsed */ @d stack_size 400 /* number of simultaneous output levels */ @ The next few sections contain stuff from the file |"common.w"| that must |