summaryrefslogtreecommitdiff
path: root/web/web2w/common.patch
blob: c148879feb50ffefa86ff9324334e0d7ca15924e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
This file is part of web2w.
Copyright 2017 Martin Ruckert

web2w is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

web2w is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with web2w.  If not, see <http://www.gnu.org/licenses/>.
 
Martin Ruckert, Hochschule Muenchen, Lothstrasse 64, 80336 Muenchen
--- /home/ruckert/hint/web2w/cweb/cweb/common.w	2002-02-01 00:00:00.000000000 +0100
+++ /home/ruckert/hint/web2w/cweb/common.w	2017-07-29 12:02:35.580013918 +0200
@@ -150,8 +150,8 @@
 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 longest_name 1000
+@d buf_size 5000 /* for \.{CWEAVE} and \.{CTANGLE} */
+@d longest_name 10000
 @d long_buf_size (buf_size+longest_name) /* for \.{CWEAVE} */
 @d xisspace(c) (isspace(c)&&((unsigned char)c<0200))
 @d xisupper(c) (isupper(c)&&((unsigned char)c<0200))
@@ -412,7 +412,7 @@
 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 5000 /* number of identifiers, strings, section names;
   must be less than 10240 */
 
 @<Defin...@>=
@@ -586,9 +586,9 @@
 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 150000 /* 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 6000 /* number of identifiers, strings, section names;
   must be less than 10240 */
 
 @<Definitions that...@>=