summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/cwebdir/comm-mini.ch
blob: adf9fc0c28e85290d27f42332508dcfc3078213a (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
Limbo.

@x
\def\title{Common code for CTANGLE and CWEAVE (4.12 [\TeX~Live])}
@y
\def\title{COMMON (4.12 [\TeX~Live])}
\def\contentspagenumber{0}
@z

Section 4.

@x
internationalization.
@y
internationalization.
@-a@>
@-s@>
@-HAVE_GETTEXT@>
@z

Section 5.

@x
@ Code related to the character set:
@y
@ Code related to the character set:
@-c@>
@z

Section 6.

@x
@ Code related to input routines:
@y
@ Code related to input routines:
@-c@>
@z

Section 10.

@x
@ Code related to identifier and section name storage:
@y
@ Code related to identifier and section name storage:
@-c@>
@z

Section 15.

@x
@ Code related to output:
@y
@r @ Code related to output:
@-a@>
@-b@>
@z

Section 24.

@x
@ @<Predecl...@>=@+static boolean input_ln(FILE *);
@y
@ @<Predecl...@>=@+static boolean input_ln(FILE *);
@-input_ln@>
@$input_ln {COMMON}23 \&{static} \&{boolean} (\,)@>
@z

ẞection 28.

@x
@ @<Predecl...@>=@+static void prime_the_change_buffer(void);
@y
@ @<Predecl...@>=@+static void prime_the_change_buffer(void);
@-prime_the_change_buffer@>
@$prime_the_change_buffer {COMMON}27 \&{static} \&{void} (\,)@>
@z

Section 32.

@x
current line is nonempty.
@y
current line is nonempty.
@-b@>
@z

Section 33.

@x
@ @<Predecl...@>=@+static void check_change(void);
@y
@ @<Predecl...@>=@+static void check_change(void);
@-check_change@>
@$check_change {COMMON}32 \&{static} \&{void} (\,)@>
@z

Section 36.

@x
@ When an \.{@@i} line is found in the |cur_file|, we must temporarily
@y
@r @ When an \.{@@i} line is found in the |cur_file|, we must temporarily
@z

Section 48.

@x
id_lookup( /* looks up a string in the identifier table */
@y
id_lookup( /* looks up a string in the identifier table */
@-h@>
@-id_lookup@>
@$id_lookup {COMMON}48 \&{name\_pointer} (\,)@>
@z

Section 49.

@x
h=(int)((eight_bits)*i);
@y
h=(int)((eight_bits)*i);
@%
@$h {COMMON}48 \&{int}@>
@z

Section 52.

@x
@d first_chunk(p) ((p)->byte_start+2)
@y
@-m@>
@d first_chunk(p) ((p)->byte_start+2)
@z

Section 53.

@x
  *dest='\0';
}

@ @c
@y
  *dest='\0';
}

@r @ @c
@z

Section 56.

@x
static int web_strcmp( /* fuller comparison than |strcmp| */
@y
static int web_strcmp( /* fuller comparison than |strcmp| */
@-web_strcmp@>
@$web_strcmp {COMMON}56 \&{static} \&{int} ${}(\,){}$@>
@z

Section 57.

@x
add_section_name( /* install a new node in the tree */
@y
add_section_name( /* install a new node in the tree */
@-add_section_name@>
@$add_section_name {COMMON}57 \&{static} \&{name\_pointer} ${}(\,){}$@>
@z

Section 59.

@x
@ The |section_lookup| procedure is supposed to find a
@y
@r @ The |section_lookup| procedure is supposed to find a
@z

@x
section_lookup( /* find or install section name in tree */
@y
section_lookup( /* find or install section name in tree */
@-section_lookup@>
@$section_lookup {COMMON}59 \&{name\_pointer} (\,)@>
@z

Section 62.

@x
@ Although error messages are given in anomalous cases, we do return the
@y
@r @ Although error messages are given in anomalous cases, we do return the
@z

Section 64.

@x
@ @<Predec...@>=@+static int section_name_cmp(char **,size_t,name_pointer);
@y
@ @<Predec...@>=@+static int section_name_cmp(char **,size_t,name_pointer);
@-section_name_cmp@>
@$section_name_cmp {COMMON}63 \&{static} \&{int} (\,)@>
@z

Section 66.

@x
err_print( /* prints `\..' and location of error message */
@y
err_print( /* prints `\..' and location of error message */
@-err_print@>
@$err_print {COMMON}66 \&{void} (\,)@>
@z

Section 75.

@x
systems the contents of the compile-time variable |DEV_NULL| (\TeX~Live) or
@y
systems the contents of the compile-time variable |DEV_NULL| (\TeX~Live) or
@-DEV_NULL@>
@-_DEV_NULL@>
@z

Section 76.

@x
@ @<Pred...@>=@+static void scan_args(void);
@y
@ @<Pred...@>=@+static void scan_args(void);
@-scan_args@>
@$scan_args {COMMON}75 \&{static} \&{void} (\,)@>
@z

Section 77.

@x
@ We use all of |*argv| for the |web_file_name| if there is a |'.'| in it,
@y
@r @ We use all of |*argv| for the |web_file_name| if there is a |'.'| in it,
@z

Section 87.

@x
|bindtextdomain| argument string need a few extra variables.
@y
|bindtextdomain| argument string need a few extra variables.
@-SEPARATORS@>
@z

Section 91.

@x
@.cweb.mo@>
@y
@.cweb.mo@>
@-HAVE_GETTEXT@>
@-TEXMFLOCALEDIR@>
@-a@>
@-b@>
@z

Section 93.

@x
@d kpse_find_cweb(name) kpse_find_file(name,kpse_cweb_format,true)
@y
@d kpse_find_cweb(name) kpse_find_file(name,kpse_cweb_format,true)
@-name@>
@z

Section 96.

@x
#include "help.h" /* |@!CTANGLEHELP|, |@!CWEAVEHELP|, |@!CTWILLHELP| */
@y
#include "help.h" /* |@!CTANGLEHELP|, |@!CWEAVEHELP|, |@!CTWILLHELP| */
@$CTANGLEHELP "help.h" \zip@>
@$CTWILLHELP "help.h" \zip@>
@$CWEAVEHELP "help.h" \zip@>
@-CWEB@>
@z

Section 85/102.

@x
@* Index.
@y
@z