Debian Codegraph @

answers/pr05.lis

raw
1 FUNNELWEB LISTING FILE
2 ======================
3
4 Dump of mapped file "<<Suppressed>>".
5
6 MEMORY DUMP OF MAPPED FILE
7 ==========================
8
9 +-------------------------------------------------+------------------+
10 | 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | 0123456789ABCDEF |
11 +-------------------------------------------------+------------------+
12 | 50 52 30 35 3A 20 54 65 73 74 20 74 68 65 20 70 | PR05: Test the p |
13 | 61 72 73 69 6E 67 20 6F 66 20 66 6F 72 6D 61 6C | arsing of formal |
14 | 20 70 61 72 61 6D 65 74 65 72 20 6C 69 73 74 73 | parameter lists |
15 | 2E 0A 0A 46 69 72 73 74 20 74 72 69 70 20 74 68 | ...First trip th |
16 | 65 20 70 61 72 73 65 72 20 73 6F 20 77 65 20 64 | e parser so we d |
17 | 6F 6E 27 74 20 67 65 74 20 70 61 73 74 20 74 68 | on't get past th |
18 | 65 20 70 61 72 73 65 72 2E 0A 40 3E 0A 0A 31 2E | e parser..@>..1. |
19 | 20 54 65 73 74 20 6D 61 63 72 6F 20 64 65 66 69 | Test macro defi |
20 | 6E 69 74 69 6F 6E 20 77 69 74 68 20 6E 6F 20 66 | nition with no f |
21 | 6F 72 6D 61 6C 20 70 61 72 61 6D 65 74 65 72 73 | ormal parameters |
22 | 2E 0A 40 24 40 3C 53 6C 6F 74 68 40 3E 40 7B 53 | ..@$@<Sloth@>@{S |
23 | 6C 6F 74 68 74 65 78 74 40 7D 0A 0A 32 2E 20 54 | lothtext@}..2. T |
24 | 65 73 74 20 6D 61 63 72 6F 20 64 65 66 69 6E 69 | est macro defini |
25 | 74 69 6F 6E 20 77 69 74 68 20 6F 6E 65 20 66 6F | tion with one fo |
26 | 72 6D 61 6C 20 70 61 72 61 6D 65 74 65 72 2E 0A | rmal parameter.. |
27 | 40 24 40 3C 53 6C 6F 74 68 20 77 69 74 68 20 6F | @$@<Sloth with o |
28 | 6E 65 40 3E 40 28 40 31 40 29 40 7B 53 6C 6F 74 | ne@>@(@1@)@{Slot |
29 | 68 74 65 78 74 40 7D 0A 0A 33 2E 20 54 65 73 74 | htext@}..3. Test |
30 | 20 6D 61 63 72 6F 20 64 65 66 69 6E 69 74 69 6F | macro definitio |
31 | 6E 20 77 69 74 68 20 6D 61 6E 79 20 66 6F 72 6D | n with many form |
32 | 61 6C 20 70 61 72 61 6D 65 74 65 72 73 2E 0A 40 | al parameters..@ |
33 | 24 40 3C 53 6C 6F 74 68 20 77 69 74 68 20 32 40 | $@<Sloth with 2@ |
34 | 3E 40 28 40 32 40 29 40 7B 53 6C 6F 74 68 74 65 | >@(@2@)@{Slothte |
35 | 78 74 40 7D 0A 40 24 40 3C 53 6C 6F 74 68 20 77 | xt@}.@$@<Sloth w |
36 | 69 74 68 20 33 40 3E 40 28 40 33 40 29 40 7B 53 | ith 3@>@(@3@)@{S |
37 | 6C 6F 74 68 74 65 78 74 40 7D 0A 40 24 40 3C 53 | lothtext@}.@$@<S |
38 | 6C 6F 74 68 20 77 69 74 68 20 34 40 3E 40 28 40 | loth with 4@>@(@ |
39 | 34 40 29 40 7B 53 6C 6F 74 68 74 65 78 74 40 7D | 4@)@{Slothtext@} |
40 | 0A 40 24 40 3C 53 6C 6F 74 68 20 77 69 74 68 20 | .@$@<Sloth with |
41 | 35 40 3E 40 28 40 35 40 29 40 7B 53 6C 6F 74 68 | 5@>@(@5@)@{Sloth |
42 | 74 65 78 74 40 7D 0A 40 24 40 3C 53 6C 6F 74 68 | text@}.@$@<Sloth |
43 | 20 77 69 74 68 20 36 40 3E 40 28 40 36 40 29 40 | with 6@>@(@6@)@ |
44 | 7B 53 6C 6F 74 68 74 65 78 74 40 7D 0A 40 24 40 | {Slothtext@}.@$@ |
45 | 3C 53 6C 6F 74 68 20 77 69 74 68 20 37 40 3E 40 | <Sloth with 7@>@ |
46 | 28 40 37 40 29 40 7B 53 6C 6F 74 68 74 65 78 74 | (@7@)@{Slothtext |
47 | 40 7D 0A 40 24 40 3C 53 6C 6F 74 68 20 77 69 74 | @}.@$@<Sloth wit |
48 | 68 20 38 40 3E 40 28 40 38 40 29 40 7B 53 6C 6F | h 8@>@(@8@)@{Slo |
49 | 74 68 74 65 78 74 40 7D 0A 40 24 40 3C 53 6C 6F | thtext@}.@$@<Slo |
50 | 74 68 20 77 69 74 68 20 39 40 3E 40 28 40 39 40 | th with 9@>@(@9@ |
51 | 29 40 7B 53 6C 6F 74 68 74 65 78 74 40 7D 0A 0A | )@{Slothtext@}.. |
52 | 34 2E 20 54 65 73 74 20 77 69 74 68 20 73 79 6E | 4. Test with syn |
53 | 74 61 78 20 65 72 72 6F 72 73 20 69 6E 20 74 68 | tax errors in th |
54 | 65 20 70 61 72 61 6D 65 74 65 72 20 6C 69 73 74 | e parameter list |
55 | 2E 0A 0A 40 24 40 3C 53 6C 6F 74 68 20 61 40 3E | ...@$@<Sloth a@> |
56 | 40 28 40 2B 40 39 40 29 40 7B 53 6C 6F 74 68 74 | @(@+@9@)@{Slotht |
57 | 65 78 74 40 7D 0A 40 41 40 3C 45 72 72 6F 72 20 | ext@}.@A@<Error |
58 | 72 65 63 6F 76 65 72 79 20 70 6F 69 6E 74 40 3E | recovery point@> |
59 | 0A 0A 40 24 40 3C 53 6C 6F 74 68 20 62 40 3E 40 | ..@$@<Sloth b@>@ |
60 | 39 40 29 40 7B 53 6C 6F 74 68 74 65 78 74 40 7D | 9@)@{Slothtext@} |
61 | 0A 40 41 40 3C 45 72 72 6F 72 20 72 65 63 6F 76 | .@A@<Error recov |
62 | 65 72 79 20 70 6F 69 6E 74 40 3E 0A 0A 40 24 40 | ery point@>..@$@ |
63 | 3C 53 6C 6F 74 68 20 63 40 3E 40 28 39 40 29 40 | <Sloth c@>@(9@)@ |
64 | 7B 53 6C 6F 74 68 74 65 78 74 40 7D 0A 40 41 40 | {Slothtext@}.@A@ |
65 | 3C 45 72 72 6F 72 20 72 65 63 6F 76 65 72 79 20 | <Error recovery |
66 | 70 6F 69 6E 74 40 3E 0A 0A 40 24 40 3C 53 6C 6F | point@>..@$@<Slo |
67 | 74 68 20 64 40 3E 40 39 40 29 40 7B 53 6C 6F 74 | th d@>@9@)@{Slot |
68 | 68 74 65 78 74 40 7D 0A 40 41 40 3C 45 72 72 6F | htext@}.@A@<Erro |
69 | 72 20 72 65 63 6F 76 65 72 79 20 70 6F 69 6E 74 | r recovery point |
70 | 40 3E 0A 0A 40 24 40 3C 53 6C 6F 74 68 20 65 40 | @>..@$@<Sloth e@ |
71 | 3E 40 28 40 39 40 29 40 29 40 7B 53 6C 6F 74 68 | >@(@9@)@)@{Sloth |
72 | 74 65 78 74 40 7D 0A 40 41 40 3C 45 72 72 6F 72 | text@}.@A@<Error |
73 | 20 72 65 63 6F 76 65 72 79 20 70 6F 69 6E 74 40 | recovery point@ |
74 | 3E 0A 0A 0A 0A | >.... |
75 +-------------------------------------------------+------------------+
76
77
78 =========================== Start of LINE LIST DUMP ============================
79
80 Globl Local| Text
81 -----------+--------------------------------------------------------------------
82 00001 00001| PR05: Test the parsing of formal parameter lists.<010>
83 00002 00002| <010>
84 00003 00003| First trip the parser so we don't get past the parser.<010>
85 00004 00004| @><010>
86 00005 00005| <010>
87 00006 00006| 1. Test macro definition with no formal parameters.<010>
88 00007 00007| @$@<Sloth@>@{Slothtext@}<010>
89 00008 00008| <010>
90 00009 00009| 2. Test macro definition with one formal parameter.<010>
91 00010 00010| @$@<Sloth with one@>@(@1@)@{Slothtext@}<010>
92 00011 00011| <010>
93 00012 00012| 3. Test macro definition with many formal parameters.<010>
94 00013 00013| @$@<Sloth with 2@>@(@2@)@{Slothtext@}<010>
95 00014 00014| @$@<Sloth with 3@>@(@3@)@{Slothtext@}<010>
96 00015 00015| @$@<Sloth with 4@>@(@4@)@{Slothtext@}<010>
97 00016 00016| @$@<Sloth with 5@>@(@5@)@{Slothtext@}<010>
98 00017 00017| @$@<Sloth with 6@>@(@6@)@{Slothtext@}<010>
99 00018 00018| @$@<Sloth with 7@>@(@7@)@{Slothtext@}<010>
100 00019 00019| @$@<Sloth with 8@>@(@8@)@{Slothtext@}<010>
101 00020 00020| @$@<Sloth with 9@>@(@9@)@{Slothtext@}<010>
102 00021 00021| <010>
103 00022 00022| 4. Test with syntax errors in the parameter list.<010>
104 00023 00023| <010>
105 00024 00024| @$@<Sloth a@>@(@+@9@)@{Slothtext@}<010>
106 00025 00025| @A@<Error recovery point@><010>
107 00026 00026| <010>
108 00027 00027| @$@<Sloth b@>@9@)@{Slothtext@}<010>
109 00028 00028| @A@<Error recovery point@><010>
110 00029 00029| <010>
111 00030 00030| @$@<Sloth c@>@(9@)@{Slothtext@}<010>
112 00031 00031| @A@<Error recovery point@><010>
113 00032 00032| <010>
114 00033 00033| @$@<Sloth d@>@9@)@{Slothtext@}<010>
115 00034 00034| @A@<Error recovery point@><010>
116 00035 00035| <010>
117 00036 00036| @$@<Sloth e@>@(@9@)@)@{Slothtext@}<010>
118 00037 00037| @A@<Error recovery point@><010>
119 00038 00038| <010>
120 00039 00039| <010>
121 00040 00040| <010>
122 00041 00041| <End-Of-File><010>
123 -----------+--------------------------------------------------------------------
124 Globl Local| Text
125
126 ============================ End of LINE LIST DUMP =============================
127
128
129 =========================== Start of TOKEN LIST DUMP ===========================
130
131 Summary: There are 191 tokens in the token list.
132
133 Line[Column]: Token Description
134 -------------------------------
135
136 0001[01]: Text. Text scrap[Grey]="PR05: Test the parsing of formal parameter lists.<010>
137 <010>
138 First trip the parser so we don't get past the parser.<010>
139 "
140 0004[01]: @> Close name.
141 0004[03]: Text. Text scrap[Grey]="<010>
142 <010>
143 1. Test macro definition with no formal parameters.<010>
144 "
145 0007[01]: @$ Macro defn.
146 0007[03]: @< Open name.
147 0007[05]: Text. Text scrap[Grey]="Sloth"
148 0007[10]: @> Close name.
149 0007[12]: @{ Open defn.
150 0007[14]: Text. Text scrap[Grey]="Slothtext"
151 0007[23]: @} Close defn.
152 0007[25]: Text. Text scrap[Grey]="<010>
153 <010>
154 2. Test macro definition with one formal parameter.<010>
155 "
156 0010[01]: @$ Macro defn.
157 0010[03]: @< Open name.
158 0010[05]: Text. Text scrap[Grey]="Sloth with one"
159 0010[19]: @> Close name.
160 0010[21]: @( Open param.
161 0010[23]: @n Parameter. Parameterno=1.
162 0010[25]: @} Close param.
163 0010[27]: @{ Open defn.
164 0010[29]: Text. Text scrap[Grey]="Slothtext"
165 0010[38]: @} Close defn.
166 0010[40]: Text. Text scrap[Grey]="<010>
167 <010>
168 3. Test macro definition with many formal parameters.<010>
169 "
170 0013[01]: @$ Macro defn.
171 0013[03]: @< Open name.
172 0013[05]: Text. Text scrap[Grey]="Sloth with 2"
173 0013[17]: @> Close name.
174 0013[19]: @( Open param.
175 0013[21]: @n Parameter. Parameterno=2.
176 0013[23]: @} Close param.
177 0013[25]: @{ Open defn.
178 0013[27]: Text. Text scrap[Grey]="Slothtext"
179 0013[36]: @} Close defn.
180 0013[38]: Text. Text scrap[White]="<010>
181 "
182 0014[01]: @$ Macro defn.
183 0014[03]: @< Open name.
184 0014[05]: Text. Text scrap[Grey]="Sloth with 3"
185 0014[17]: @> Close name.
186 0014[19]: @( Open param.
187 0014[21]: @n Parameter. Parameterno=3.
188 0014[23]: @} Close param.
189 0014[25]: @{ Open defn.
190 0014[27]: Text. Text scrap[Grey]="Slothtext"
191 0014[36]: @} Close defn.
192 0014[38]: Text. Text scrap[White]="<010>
193 "
194 0015[01]: @$ Macro defn.
195 0015[03]: @< Open name.
196 0015[05]: Text. Text scrap[Grey]="Sloth with 4"
197 0015[17]: @> Close name.
198 0015[19]: @( Open param.
199 0015[21]: @n Parameter. Parameterno=4.
200 0015[23]: @} Close param.
201 0015[25]: @{ Open defn.
202 0015[27]: Text. Text scrap[Grey]="Slothtext"
203 0015[36]: @} Close defn.
204 0015[38]: Text. Text scrap[White]="<010>
205 "
206 0016[01]: @$ Macro defn.
207 0016[03]: @< Open name.
208 0016[05]: Text. Text scrap[Grey]="Sloth with 5"
209 0016[17]: @> Close name.
210 0016[19]: @( Open param.
211 0016[21]: @n Parameter. Parameterno=5.
212 0016[23]: @} Close param.
213 0016[25]: @{ Open defn.
214 0016[27]: Text. Text scrap[Grey]="Slothtext"
215 0016[36]: @} Close defn.
216 0016[38]: Text. Text scrap[White]="<010>
217 "
218 0017[01]: @$ Macro defn.
219 0017[03]: @< Open name.
220 0017[05]: Text. Text scrap[Grey]="Sloth with 6"
221 0017[17]: @> Close name.
222 0017[19]: @( Open param.
223 0017[21]: @n Parameter. Parameterno=6.
224 0017[23]: @} Close param.
225 0017[25]: @{ Open defn.
226 0017[27]: Text. Text scrap[Grey]="Slothtext"
227 0017[36]: @} Close defn.
228 0017[38]: Text. Text scrap[White]="<010>
229 "
230 0018[01]: @$ Macro defn.
231 0018[03]: @< Open name.
232 0018[05]: Text. Text scrap[Grey]="Sloth with 7"
233 0018[17]: @> Close name.
234 0018[19]: @( Open param.
235 0018[21]: @n Parameter. Parameterno=7.
236 0018[23]: @} Close param.
237 0018[25]: @{ Open defn.
238 0018[27]: Text. Text scrap[Grey]="Slothtext"
239 0018[36]: @} Close defn.
240 0018[38]: Text. Text scrap[White]="<010>
241 "
242 0019[01]: @$ Macro defn.
243 0019[03]: @< Open name.
244 0019[05]: Text. Text scrap[Grey]="Sloth with 8"
245 0019[17]: @> Close name.
246 0019[19]: @( Open param.
247 0019[21]: @n Parameter. Parameterno=8.
248 0019[23]: @} Close param.
249 0019[25]: @{ Open defn.
250 0019[27]: Text. Text scrap[Grey]="Slothtext"
251 0019[36]: @} Close defn.
252 0019[38]: Text. Text scrap[White]="<010>
253 "
254 0020[01]: @$ Macro defn.
255 0020[03]: @< Open name.
256 0020[05]: Text. Text scrap[Grey]="Sloth with 9"
257 0020[17]: @> Close name.
258 0020[19]: @( Open param.
259 0020[21]: @n Parameter. Parameterno=9.
260 0020[23]: @} Close param.
261 0020[25]: @{ Open defn.
262 0020[27]: Text. Text scrap[Grey]="Slothtext"
263 0020[36]: @} Close defn.
264 0020[38]: Text. Text scrap[Grey]="<010>
265 <010>
266 4. Test with syntax errors in the parameter list.<010>
267 <010>
268 "
269 0024[01]: @$ Macro defn.
270 0024[03]: @< Open name.
271 0024[05]: Text. Text scrap[Grey]="Sloth a"
272 0024[12]: @> Close name.
273 0024[14]: @( Open param.
274 0024[16]: Text. Text scrap[White]="<010>
275 "
276 0024[18]: @n Parameter. Parameterno=9.
277 0024[20]: @} Close param.
278 0024[22]: @{ Open defn.
279 0024[24]: Text. Text scrap[Grey]="Slothtext"
280 0024[33]: @} Close defn.
281 0024[35]: Text. Text scrap[White]="<010>
282 "
283 0025[01]: @A New section (Level 1).
284 0025[03]: @< Open name.
285 0025[05]: Text. Text scrap[Grey]="Error recovery point"
286 0025[25]: @> Close name.
287 0025[27]: Text. Text scrap[White]="<010>
288 <010>
289 "
290 0027[01]: @$ Macro defn.
291 0027[03]: @< Open name.
292 0027[05]: Text. Text scrap[Grey]="Sloth b"
293 0027[12]: @> Close name.
294 0027[14]: @n Parameter. Parameterno=9.
295 0027[16]: @} Close param.
296 0027[18]: @{ Open defn.
297 0027[20]: Text. Text scrap[Grey]="Slothtext"
298 0027[29]: @} Close defn.
299 0027[31]: Text. Text scrap[White]="<010>
300 "
301 0028[01]: @A New section (Level 1).
302 0028[03]: @< Open name.
303 0028[05]: Text. Text scrap[Grey]="Error recovery point"
304 0028[25]: @> Close name.
305 0028[27]: Text. Text scrap[White]="<010>
306 <010>
307 "
308 0030[01]: @$ Macro defn.
309 0030[03]: @< Open name.
310 0030[05]: Text. Text scrap[Grey]="Sloth c"
311 0030[12]: @> Close name.
312 0030[14]: @( Open param.
313 0030[16]: Text. Text scrap[Grey]="9"
314 0030[17]: @} Close param.
315 0030[19]: @{ Open defn.
316 0030[21]: Text. Text scrap[Grey]="Slothtext"
317 0030[30]: @} Close defn.
318 0030[32]: Text. Text scrap[White]="<010>
319 "
320 0031[01]: @A New section (Level 1).
321 0031[03]: @< Open name.
322 0031[05]: Text. Text scrap[Grey]="Error recovery point"
323 0031[25]: @> Close name.
324 0031[27]: Text. Text scrap[White]="<010>
325 <010>
326 "
327 0033[01]: @$ Macro defn.
328 0033[03]: @< Open name.
329 0033[05]: Text. Text scrap[Grey]="Sloth d"
330 0033[12]: @> Close name.
331 0033[14]: @n Parameter. Parameterno=9.
332 0033[16]: @} Close param.
333 0033[18]: @{ Open defn.
334 0033[20]: Text. Text scrap[Grey]="Slothtext"
335 0033[29]: @} Close defn.
336 0033[31]: Text. Text scrap[White]="<010>
337 "
338 0034[01]: @A New section (Level 1).
339 0034[03]: @< Open name.
340 0034[05]: Text. Text scrap[Grey]="Error recovery point"
341 0034[25]: @> Close name.
342 0034[27]: Text. Text scrap[White]="<010>
343 <010>
344 "
345 0036[01]: @$ Macro defn.
346 0036[03]: @< Open name.
347 0036[05]: Text. Text scrap[Grey]="Sloth e"
348 0036[12]: @> Close name.
349 0036[14]: @( Open param.
350 0036[16]: @n Parameter. Parameterno=9.
351 0036[18]: @} Close param.
352 0036[20]: @} Close param.
353 0036[22]: @{ Open defn.
354 0036[24]: Text. Text scrap[Grey]="Slothtext"
355 0036[33]: @} Close defn.
356 0036[35]: Text. Text scrap[White]="<010>
357 "
358 0037[01]: @A New section (Level 1).
359 0037[03]: @< Open name.
360 0037[05]: Text. Text scrap[Grey]="Error recovery point"
361 0037[25]: @> Close name.
362 0037[27]: Text. Text scrap[White]="<010>
363 <010>
364 <010>
365 <010>
366 "
367 0041[01]: End Of File.
368 ============================ End of TOKEN LIST DUMP ============================
369
370
371 ========================== Start of MACRO TABLE DUMP ===========================
372
373
374 ------------------- Start of Macro Dump --------------------
375 Macro Name : "Sloth"
376 Macro MinLv : 0
377 Call list :
378
379 Level 0 is defined as follows.
380 Parameters : 0
381 Pos(L,C) : (7,1)
382 Additive? : No.
383 Zero Calls? : No.
384 Many Calls? : No.
385 Output File?: No.
386 Macro body :
387
388 --Start of List of Body Parts--
389 This macro has 1 body part.
390 Body part 1: Seqnum=1, Pos(L,C)=(7,3), Expression follows:
391
392 ---- Start of Expression ----
393
394 ----- Start Text Element -----
395 Text scrap[Grey]="Slothtext"
396 ------ End Text Element ------
397
398 ----- End of Expression -----
399
400 ---End of List of Body Parts---
401
402 Level 1 is not defined.
403 Level 2 is not defined.
404 Level 3 is not defined.
405 Level 4 is not defined.
406 Level 5 is not defined.
407 -------------------- End of Macro Dump ---------------------
408
409
410
411 ------------------- Start of Macro Dump --------------------
412 Macro Name : "Sloth a"
413 Macro MinLv : 6
414 Call list :
415 Level 0 is not defined.
416 Level 1 is not defined.
417 Level 2 is not defined.
418 Level 3 is not defined.
419 Level 4 is not defined.
420 Level 5 is not defined.
421 -------------------- End of Macro Dump ---------------------
422
423
424
425 ------------------- Start of Macro Dump --------------------
426 Macro Name : "Sloth b"
427 Macro MinLv : 0
428 Call list :
429
430 Level 0 is defined as follows.
431 Parameters : 0
432 Pos(L,C) : (27,1)
433 Additive? : No.
434 Zero Calls? : No.
435 Many Calls? : No.
436 Output File?: No.
437 Macro body :
438
439 --Start of List of Body Parts--
440 This macro has 0 body parts.
441 ---End of List of Body Parts---
442
443 Level 1 is not defined.
444 Level 2 is not defined.
445 Level 3 is not defined.
446 Level 4 is not defined.
447 Level 5 is not defined.
448 -------------------- End of Macro Dump ---------------------
449
450
451
452 ------------------- Start of Macro Dump --------------------
453 Macro Name : "Sloth c"
454 Macro MinLv : 6
455 Call list :
456 Level 0 is not defined.
457 Level 1 is not defined.
458 Level 2 is not defined.
459 Level 3 is not defined.
460 Level 4 is not defined.
461 Level 5 is not defined.
462 -------------------- End of Macro Dump ---------------------
463
464
465
466 ------------------- Start of Macro Dump --------------------
467 Macro Name : "Sloth d"
468 Macro MinLv : 0
469 Call list :
470
471 Level 0 is defined as follows.
472 Parameters : 0
473 Pos(L,C) : (33,1)
474 Additive? : No.
475 Zero Calls? : No.
476 Many Calls? : No.
477 Output File?: No.
478 Macro body :
479
480 --Start of List of Body Parts--
481 This macro has 0 body parts.
482 ---End of List of Body Parts---
483
484 Level 1 is not defined.
485 Level 2 is not defined.
486 Level 3 is not defined.
487 Level 4 is not defined.
488 Level 5 is not defined.
489 -------------------- End of Macro Dump ---------------------
490
491
492
493 ------------------- Start of Macro Dump --------------------
494 Macro Name : "Sloth e"
495 Macro MinLv : 0
496 Call list :
497
498 Level 0 is defined as follows.
499 Parameters : 9
500 Pos(L,C) : (36,1)
501 Additive? : No.
502 Zero Calls? : No.
503 Many Calls? : No.
504 Output File?: No.
505 Macro body :
506
507 --Start of List of Body Parts--
508 This macro has 0 body parts.
509 ---End of List of Body Parts---
510
511 Level 1 is not defined.
512 Level 2 is not defined.
513 Level 3 is not defined.
514 Level 4 is not defined.
515 Level 5 is not defined.
516 -------------------- End of Macro Dump ---------------------
517
518
519
520 ------------------- Start of Macro Dump --------------------
521 Macro Name : "Sloth with 2"
522 Macro MinLv : 0
523 Call list :
524
525 Level 0 is defined as follows.
526 Parameters : 2
527 Pos(L,C) : (13,1)
528 Additive? : No.
529 Zero Calls? : No.
530 Many Calls? : No.
531 Output File?: No.
532 Macro body :
533
534 --Start of List of Body Parts--
535 This macro has 1 body part.
536 Body part 1: Seqnum=3, Pos(L,C)=(13,3), Expression follows:
537
538 ---- Start of Expression ----
539
540 ----- Start Text Element -----
541 Text scrap[Grey]="Slothtext"
542 ------ End Text Element ------
543
544 ----- End of Expression -----
545
546 ---End of List of Body Parts---
547
548 Level 1 is not defined.
549 Level 2 is not defined.
550 Level 3 is not defined.
551 Level 4 is not defined.
552 Level 5 is not defined.
553 -------------------- End of Macro Dump ---------------------
554
555
556
557 ------------------- Start of Macro Dump --------------------
558 Macro Name : "Sloth with 3"
559 Macro MinLv : 0
560 Call list :
561
562 Level 0 is defined as follows.
563 Parameters : 3
564 Pos(L,C) : (14,1)
565 Additive? : No.
566 Zero Calls? : No.
567 Many Calls? : No.
568 Output File?: No.
569 Macro body :
570
571 --Start of List of Body Parts--
572 This macro has 1 body part.
573 Body part 1: Seqnum=4, Pos(L,C)=(14,3), Expression follows:
574
575 ---- Start of Expression ----
576
577 ----- Start Text Element -----
578 Text scrap[Grey]="Slothtext"
579 ------ End Text Element ------
580
581 ----- End of Expression -----
582
583 ---End of List of Body Parts---
584
585 Level 1 is not defined.
586 Level 2 is not defined.
587 Level 3 is not defined.
588 Level 4 is not defined.
589 Level 5 is not defined.
590 -------------------- End of Macro Dump ---------------------
591
592
593
594 ------------------- Start of Macro Dump --------------------
595 Macro Name : "Sloth with 4"
596 Macro MinLv : 0
597 Call list :
598
599 Level 0 is defined as follows.
600 Parameters : 4
601 Pos(L,C) : (15,1)
602 Additive? : No.
603 Zero Calls? : No.
604 Many Calls? : No.
605 Output File?: No.
606 Macro body :
607
608 --Start of List of Body Parts--
609 This macro has 1 body part.
610 Body part 1: Seqnum=5, Pos(L,C)=(15,3), Expression follows:
611
612 ---- Start of Expression ----
613
614 ----- Start Text Element -----
615 Text scrap[Grey]="Slothtext"
616 ------ End Text Element ------
617
618 ----- End of Expression -----
619
620 ---End of List of Body Parts---
621
622 Level 1 is not defined.
623 Level 2 is not defined.
624 Level 3 is not defined.
625 Level 4 is not defined.
626 Level 5 is not defined.
627 -------------------- End of Macro Dump ---------------------
628
629
630
631 ------------------- Start of Macro Dump --------------------
632 Macro Name : "Sloth with 5"
633 Macro MinLv : 0
634 Call list :
635
636 Level 0 is defined as follows.
637 Parameters : 5
638 Pos(L,C) : (16,1)
639 Additive? : No.
640 Zero Calls? : No.
641 Many Calls? : No.
642 Output File?: No.
643 Macro body :
644
645 --Start of List of Body Parts--
646 This macro has 1 body part.
647 Body part 1: Seqnum=6, Pos(L,C)=(16,3), Expression follows:
648
649 ---- Start of Expression ----
650
651 ----- Start Text Element -----
652 Text scrap[Grey]="Slothtext"
653 ------ End Text Element ------
654
655 ----- End of Expression -----
656
657 ---End of List of Body Parts---
658
659 Level 1 is not defined.
660 Level 2 is not defined.
661 Level 3 is not defined.
662 Level 4 is not defined.
663 Level 5 is not defined.
664 -------------------- End of Macro Dump ---------------------
665
666
667
668 ------------------- Start of Macro Dump --------------------
669 Macro Name : "Sloth with 6"
670 Macro MinLv : 0
671 Call list :
672
673 Level 0 is defined as follows.
674 Parameters : 6
675 Pos(L,C) : (17,1)
676 Additive? : No.
677 Zero Calls? : No.
678 Many Calls? : No.
679 Output File?: No.
680 Macro body :
681
682 --Start of List of Body Parts--
683 This macro has 1 body part.
684 Body part 1: Seqnum=7, Pos(L,C)=(17,3), Expression follows:
685
686 ---- Start of Expression ----
687
688 ----- Start Text Element -----
689 Text scrap[Grey]="Slothtext"
690 ------ End Text Element ------
691
692 ----- End of Expression -----
693
694 ---End of List of Body Parts---
695
696 Level 1 is not defined.
697 Level 2 is not defined.
698 Level 3 is not defined.
699 Level 4 is not defined.
700 Level 5 is not defined.
701 -------------------- End of Macro Dump ---------------------
702
703
704
705 ------------------- Start of Macro Dump --------------------
706 Macro Name : "Sloth with 7"
707 Macro MinLv : 0
708 Call list :
709
710 Level 0 is defined as follows.
711 Parameters : 7
712 Pos(L,C) : (18,1)
713 Additive? : No.
714 Zero Calls? : No.
715 Many Calls? : No.
716 Output File?: No.
717 Macro body :
718
719 --Start of List of Body Parts--
720 This macro has 1 body part.
721 Body part 1: Seqnum=8, Pos(L,C)=(18,3), Expression follows:
722
723 ---- Start of Expression ----
724
725 ----- Start Text Element -----
726 Text scrap[Grey]="Slothtext"
727 ------ End Text Element ------
728
729 ----- End of Expression -----
730
731 ---End of List of Body Parts---
732
733 Level 1 is not defined.
734 Level 2 is not defined.
735 Level 3 is not defined.
736 Level 4 is not defined.
737 Level 5 is not defined.
738 -------------------- End of Macro Dump ---------------------
739
740
741
742 ------------------- Start of Macro Dump --------------------
743 Macro Name : "Sloth with 8"
744 Macro MinLv : 0
745 Call list :
746
747 Level 0 is defined as follows.
748 Parameters : 8
749 Pos(L,C) : (19,1)
750 Additive? : No.
751 Zero Calls? : No.
752 Many Calls? : No.
753 Output File?: No.
754 Macro body :
755
756 --Start of List of Body Parts--
757 This macro has 1 body part.
758 Body part 1: Seqnum=9, Pos(L,C)=(19,3), Expression follows:
759
760 ---- Start of Expression ----
761
762 ----- Start Text Element -----
763 Text scrap[Grey]="Slothtext"
764 ------ End Text Element ------
765
766 ----- End of Expression -----
767
768 ---End of List of Body Parts---
769
770 Level 1 is not defined.
771 Level 2 is not defined.
772 Level 3 is not defined.
773 Level 4 is not defined.
774 Level 5 is not defined.
775 -------------------- End of Macro Dump ---------------------
776
777
778
779 ------------------- Start of Macro Dump --------------------
780 Macro Name : "Sloth with 9"
781 Macro MinLv : 0
782 Call list :
783
784 Level 0 is defined as follows.
785 Parameters : 9
786 Pos(L,C) : (20,1)
787 Additive? : No.
788 Zero Calls? : No.
789 Many Calls? : No.
790 Output File?: No.
791 Macro body :
792
793 --Start of List of Body Parts--
794 This macro has 1 body part.
795 Body part 1: Seqnum=10, Pos(L,C)=(20,3), Expression follows:
796
797 ---- Start of Expression ----
798
799 ----- Start Text Element -----
800 Text scrap[Grey]="Slothtext"
801 ------ End Text Element ------
802
803 ----- End of Expression -----
804
805 ---End of List of Body Parts---
806
807 Level 1 is not defined.
808 Level 2 is not defined.
809 Level 3 is not defined.
810 Level 4 is not defined.
811 Level 5 is not defined.
812 -------------------- End of Macro Dump ---------------------
813
814
815
816 ------------------- Start of Macro Dump --------------------
817 Macro Name : "Sloth with one"
818 Macro MinLv : 0
819 Call list :
820
821 Level 0 is defined as follows.
822 Parameters : 1
823 Pos(L,C) : (10,1)
824 Additive? : No.
825 Zero Calls? : No.
826 Many Calls? : No.
827 Output File?: No.
828 Macro body :
829
830 --Start of List of Body Parts--
831 This macro has 1 body part.
832 Body part 1: Seqnum=2, Pos(L,C)=(10,3), Expression follows:
833
834 ---- Start of Expression ----
835
836 ----- Start Text Element -----
837 Text scrap[Grey]="Slothtext"
838 ------ End Text Element ------
839
840 ----- End of Expression -----
841
842 ---End of List of Body Parts---
843
844 Level 1 is not defined.
845 Level 2 is not defined.
846 Level 3 is not defined.
847 Level 4 is not defined.
848 Level 5 is not defined.
849 -------------------- End of Macro Dump ---------------------
850
851
852
853 =========================== End of MACRO TABLE DUMP ============================
854
855
856 ========================= Start of DOCUMENT LIST DUMP ==========================
857
858
859 TEXT COMPONENT: Pos(L,C)=(1,1).
860
861 -- Start of Text Scrap List --
862 Text scrap[Grey]="PR05: Test the parsing of formal parameter lists.<010>
863 <010>
864 First trip the parser so we don't get past the parser.<010>
865 "
866 --- End of Text Scrap List ---
867
868
869 TEXT COMPONENT: Pos(L,C)=(4,3).
870
871 -- Start of Text Scrap List --
872 Text scrap[Grey]="<010>
873 <010>
874 1. Test macro definition with no formal parameters.<010>
875 "
876 --- End of Text Scrap List ---
877
878
879 MACRO DEFINITION COMPONENT: Pos(L,C)=(7,1).
880 Part 1 of level 0 of macro @<Sloth@>.
881
882 TEXT COMPONENT: Pos(L,C)=(7,25).
883
884 -- Start of Text Scrap List --
885 Text scrap[Grey]="<010>
886 <010>
887 2. Test macro definition with one formal parameter.<010>
888 "
889 --- End of Text Scrap List ---
890
891
892 MACRO DEFINITION COMPONENT: Pos(L,C)=(10,1).
893 Part 1 of level 0 of macro @<Sloth with one@>.
894
895 TEXT COMPONENT: Pos(L,C)=(10,40).
896
897 -- Start of Text Scrap List --
898 Text scrap[Grey]="<010>
899 <010>
900 3. Test macro definition with many formal parameters.<010>
901 "
902 --- End of Text Scrap List ---
903
904
905 MACRO DEFINITION COMPONENT: Pos(L,C)=(13,1).
906 Part 1 of level 0 of macro @<Sloth with 2@>.
907
908 TEXT COMPONENT: Pos(L,C)=(13,38).
909
910 -- Start of Text Scrap List --
911 Text scrap[White]="<010>
912 "
913 --- End of Text Scrap List ---
914
915
916 MACRO DEFINITION COMPONENT: Pos(L,C)=(14,1).
917 Part 1 of level 0 of macro @<Sloth with 3@>.
918
919 TEXT COMPONENT: Pos(L,C)=(14,38).
920
921 -- Start of Text Scrap List --
922 Text scrap[White]="<010>
923 "
924 --- End of Text Scrap List ---
925
926
927 MACRO DEFINITION COMPONENT: Pos(L,C)=(15,1).
928 Part 1 of level 0 of macro @<Sloth with 4@>.
929
930 TEXT COMPONENT: Pos(L,C)=(15,38).
931
932 -- Start of Text Scrap List --
933 Text scrap[White]="<010>
934 "
935 --- End of Text Scrap List ---
936
937
938 MACRO DEFINITION COMPONENT: Pos(L,C)=(16,1).
939 Part 1 of level 0 of macro @<Sloth with 5@>.
940
941 TEXT COMPONENT: Pos(L,C)=(16,38).
942
943 -- Start of Text Scrap List --
944 Text scrap[White]="<010>
945 "
946 --- End of Text Scrap List ---
947
948
949 MACRO DEFINITION COMPONENT: Pos(L,C)=(17,1).
950 Part 1 of level 0 of macro @<Sloth with 6@>.
951
952 TEXT COMPONENT: Pos(L,C)=(17,38).
953
954 -- Start of Text Scrap List --
955 Text scrap[White]="<010>
956 "
957 --- End of Text Scrap List ---
958
959
960 MACRO DEFINITION COMPONENT: Pos(L,C)=(18,1).
961 Part 1 of level 0 of macro @<Sloth with 7@>.
962
963 TEXT COMPONENT: Pos(L,C)=(18,38).
964
965 -- Start of Text Scrap List --
966 Text scrap[White]="<010>
967 "
968 --- End of Text Scrap List ---
969
970
971 MACRO DEFINITION COMPONENT: Pos(L,C)=(19,1).
972 Part 1 of level 0 of macro @<Sloth with 8@>.
973
974 TEXT COMPONENT: Pos(L,C)=(19,38).
975
976 -- Start of Text Scrap List --
977 Text scrap[White]="<010>
978 "
979 --- End of Text Scrap List ---
980
981
982 MACRO DEFINITION COMPONENT: Pos(L,C)=(20,1).
983 Part 1 of level 0 of macro @<Sloth with 9@>.
984
985 TEXT COMPONENT: Pos(L,C)=(20,38).
986
987 -- Start of Text Scrap List --
988 Text scrap[Grey]="<010>
989 <010>
990 4. Test with syntax errors in the parameter list.<010>
991 <010>
992 "
993 --- End of Text Scrap List ---
994
995
996 TYPESETTER DIRECTIVE COMPONENT:
997 Section "1", Section name="Error recovery point".
998
999 TEXT COMPONENT: Pos(L,C)=(25,27).
1000
1001 -- Start of Text Scrap List --
1002 Text scrap[White]="<010>
1003 <010>
1004 "
1005 --- End of Text Scrap List ---
1006
1007
1008 TYPESETTER DIRECTIVE COMPONENT:
1009 Section "2", Section name="Error recovery point".
1010
1011 TEXT COMPONENT: Pos(L,C)=(28,27).
1012
1013 -- Start of Text Scrap List --
1014 Text scrap[White]="<010>
1015 <010>
1016 "
1017 --- End of Text Scrap List ---
1018
1019
1020 TYPESETTER DIRECTIVE COMPONENT:
1021 Section "3", Section name="Error recovery point".
1022
1023 TEXT COMPONENT: Pos(L,C)=(31,27).
1024
1025 -- Start of Text Scrap List --
1026 Text scrap[White]="<010>
1027 <010>
1028 "
1029 --- End of Text Scrap List ---
1030
1031
1032 TYPESETTER DIRECTIVE COMPONENT:
1033 Section "4", Section name="Error recovery point".
1034
1035 TEXT COMPONENT: Pos(L,C)=(34,27).
1036
1037 -- Start of Text Scrap List --
1038 Text scrap[White]="<010>
1039 <010>
1040 "
1041 --- End of Text Scrap List ---
1042
1043
1044 TYPESETTER DIRECTIVE COMPONENT:
1045 Section "5", Section name="Error recovery point".
1046
1047 TEXT COMPONENT: Pos(L,C)=(37,27).
1048
1049 -- Start of Text Scrap List --
1050 Text scrap[White]="<010>
1051 <010>
1052 <010>
1053 <010>
1054 "
1055 --- End of Text Scrap List ---
1056
1057
1058 ========================== End of DOCUMENT LIST DUMP ===========================
1059
1060
1061 Global Local| Input File
1062 ------------+-------------------------------------------------------------------
1063 1 1| PR05: Test the parsing of formal parameter lists.
1064 2 2|
1065 3 3| First trip the parser so we don't get past the parser.
1066 4 4| @>
1067 Error|.^The parser was at the top level and was expecting
1068 |.^one of: {Directive, Text, Macro definition, EOF}.
1069 5 5|
1070 6 6| 1. Test macro definition with no formal parameters.
1071 7 7| @$@<Sloth@>@{Slothtext@}
1072 8 8|
1073 9 9| 2. Test macro definition with one formal parameter.
1074 10 10| @$@<Sloth with one@>@(@1@)@{Slothtext@}
1075 11 11|
1076 12 12| 3. Test macro definition with many formal parameters.
1077 13 13| @$@<Sloth with 2@>@(@2@)@{Slothtext@}
1078 14 14| @$@<Sloth with 3@>@(@3@)@{Slothtext@}
1079 15 15| @$@<Sloth with 4@>@(@4@)@{Slothtext@}
1080 16 16| @$@<Sloth with 5@>@(@5@)@{Slothtext@}
1081 17 17| @$@<Sloth with 6@>@(@6@)@{Slothtext@}
1082 18 18| @$@<Sloth with 7@>@(@7@)@{Slothtext@}
1083 19 19| @$@<Sloth with 8@>@(@8@)@{Slothtext@}
1084 20 20| @$@<Sloth with 9@>@(@9@)@{Slothtext@}
1085 21 21|
1086 22 22| 4. Test with syntax errors in the parameter list.
1087 23 23|
1088 24 24| @$@<Sloth a@>@(@+@9@)@{Slothtext@}
1089 Error|................^Expecting one of [@1..@9].
1090 |................^Skipping after error to the next major construct...
1091 25 25| @A@<Error recovery point@>
1092 |.^...skipped to here after the error.
1093 26 26|
1094 27 27| @$@<Sloth b@>@9@)@{Slothtext@}
1095 Error|..............^Expecting '@{'.
1096 |..............^Skipping after error to the next major construct...
1097 28 28| @A@<Error recovery point@>
1098 |.^...skipped to here after the error.
1099 29 29|
1100 30 30| @$@<Sloth c@>@(9@)@{Slothtext@}
1101 Error|................^Expecting one of [@1..@9].
1102 |................^Skipping after error to the next major construct...
1103 31 31| @A@<Error recovery point@>
1104 |.^...skipped to here after the error.
1105 32 32|
1106 33 33| @$@<Sloth d@>@9@)@{Slothtext@}
1107 Error|..............^Expecting '@{'.
1108 |..............^Skipping after error to the next major construct...
1109 34 34| @A@<Error recovery point@>
1110 |.^...skipped to here after the error.
1111 35 35|
1112 36 36| @$@<Sloth e@>@(@9@)@)@{Slothtext@}
1113 Error|....................^Expecting '@{'.
1114 |....................^Skipping after error to the next major construct...
1115 37 37| @A@<Error recovery point@>
1116 |.^...skipped to here after the error.
1117 38 38|
1118 39 39|
1119 40 40|
1120 | <End-Of-File>
1121 ------------+-------------------------------------------------------------------
1122
1123 There were 6 Errors.