Debian Codegraph @

answers/pr06.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 36 3A 20 54 65 73 74 20 74 68 65 20 70 | PR06: Test the p |
13 | 61 72 73 69 6E 67 20 6F 6E 20 69 6E 76 6F 63 61 | arsing on invoca |
14 | 74 69 6F 6E 20 6E 75 6D 62 65 72 20 63 6F 6E 73 | tion number cons |
15 | 74 72 61 69 6E 74 73 2E 0A 0A 54 72 69 70 20 74 | traints...Trip t |
16 | 68 65 20 70 61 72 73 65 72 20 73 6F 20 77 65 20 | he parser so we |
17 | 64 6F 6E 27 74 20 67 65 74 20 70 61 73 74 20 69 | don't get past i |
18 | 74 2E 0A 40 3E 0A 0A 31 2E 20 54 65 73 74 20 77 | t..@>..1. Test w |
19 | 69 74 68 20 6E 6F 20 7A 65 72 6F 20 61 6E 64 20 | ith no zero and |
20 | 6E 6F 20 6D 61 6E 79 2E 0A 40 24 40 3C 53 6C 6F | no many..@$@<Slo |
21 | 74 68 40 3E 40 7B 4E 6F 20 7A 65 72 6F 20 61 6E | th@>@{No zero an |
22 | 64 20 6E 6F 20 6D 61 6E 79 20 69 6E 20 74 68 69 | d no many in thi |
23 | 73 20 6D 61 63 72 6F 40 7D 0A 0A 32 2E 20 54 65 | s macro@}..2. Te |
24 | 73 74 20 77 69 74 68 20 61 20 7A 65 72 6F 2E 0A | st with a zero.. |
25 | 40 24 40 3C 53 6C 6F 74 68 20 7A 65 72 6F 40 3E | @$@<Sloth zero@> |
26 | 40 5A 40 7B 43 61 6E 20 62 65 20 63 61 6C 6C 65 | @Z@{Can be calle |
27 | 64 20 66 72 6F 6D 20 30 20 74 6F 20 31 20 74 69 | d from 0 to 1 ti |
28 | 6D 65 73 2E 40 7D 0A 0A 33 2E 20 54 65 73 74 20 | mes.@}..3. Test |
29 | 77 69 74 68 20 61 20 6D 61 6E 79 2E 0A 40 24 40 | with a many..@$@ |
30 | 3C 53 6C 6F 74 68 20 6D 61 6E 79 40 3E 40 4D 40 | <Sloth many@>@M@ |
31 | 7B 43 61 6E 20 62 65 20 63 61 6C 6C 65 64 20 66 | {Can be called f |
32 | 72 6F 6D 20 31 20 74 6F 20 69 6E 66 69 6E 69 74 | rom 1 to infinit |
33 | 79 20 74 69 6D 65 73 2E 40 7D 0A 0A 34 2E 20 54 | y times.@}..4. T |
34 | 65 73 74 20 77 69 74 68 20 61 20 7A 65 72 6F 20 | est with a zero |
35 | 61 6E 64 20 61 20 6D 61 6E 79 2E 0A 40 24 40 3C | and a many..@$@< |
36 | 53 6C 6F 74 68 20 7A 65 72 6F 6D 61 6E 79 40 3E | Sloth zeromany@> |
37 | 40 5A 40 4D 40 7B 43 61 6E 20 62 65 20 63 61 6C | @Z@M@{Can be cal |
38 | 6C 65 64 20 66 72 6F 6D 20 30 20 74 6F 20 69 6E | led from 0 to in |
39 | 66 69 6E 69 74 79 20 74 69 6D 65 73 2E 40 7D 0A | finity times.@}. |
40 | 0A 35 2E 20 54 65 73 74 20 77 69 74 68 20 61 20 | .5. Test with a |
41 | 7A 65 72 6F 20 61 6E 64 20 61 20 6D 61 6E 79 20 | zero and a many |
42 | 62 75 74 20 6F 75 74 20 6F 66 20 6F 72 64 65 72 | but out of order |
43 | 20 28 73 68 6F 75 6C 64 20 67 69 76 65 20 65 72 | (should give er |
44 | 72 6F 72 29 2E 0A 40 24 40 3C 53 6C 6F 74 68 20 | ror)..@$@<Sloth |
45 | 6D 61 6E 79 7A 65 72 6F 40 3E 40 4D 40 5A 40 7B | manyzero@>@M@Z@{ |
46 | 4F 6F 70 73 2E 40 7D 0A 40 41 40 3C 45 72 72 6F | Oops.@}.@A@<Erro |
47 | 72 20 72 65 63 6F 76 65 72 79 20 70 6F 69 6E 74 | r recovery point |
48 | 40 3E 0A 0A 36 2E 20 54 65 73 74 20 77 69 74 68 | @>..6. Test with |
49 | 20 73 79 6E 74 61 63 74 69 63 20 65 72 72 6F 72 | syntactic error |
50 | 73 2E 0A 0A 40 24 40 3C 53 6C 6F 74 68 20 61 40 | s...@$@<Sloth a@ |
51 | 3E 20 40 4D 20 40 5A 20 40 7B 4F 6F 70 73 2E 40 | > @M @Z @{Oops.@ |
52 | 7D 0A 40 41 40 3C 45 72 72 6F 72 20 72 65 63 6F | }.@A@<Error reco |
53 | 76 65 72 79 20 70 6F 69 6E 74 40 3E 0A 0A 40 24 | very point@>..@$ |
54 | 40 3C 53 6C 6F 74 68 20 62 40 3E 40 5A 40 5A 40 | @<Sloth b@>@Z@Z@ |
55 | 7B 4F 6F 70 73 2E 40 7D 0A 40 41 40 3C 45 72 72 | {Oops.@}.@A@<Err |
56 | 6F 72 20 72 65 63 6F 76 65 72 79 20 70 6F 69 6E | or recovery poin |
57 | 74 40 3E 0A 0A 40 24 40 3C 53 6C 6F 74 68 20 63 | t@>..@$@<Sloth c |
58 | 40 5A 40 3E 40 7B 4F 6F 70 73 2E 40 7D 0A 40 41 | @Z@>@{Oops.@}.@A |
59 | 40 3C 45 72 72 6F 72 20 72 65 63 6F 76 65 72 79 | @<Error recovery |
60 | 20 70 6F 69 6E 74 40 3E 0A 0A 40 24 40 3C 53 6C | point@>..@$@<Sl |
61 | 6F 74 68 20 64 40 3E 5A 40 7B 4F 6F 70 73 2E 40 | oth d@>Z@{Oops.@ |
62 | 7D 0A 40 41 40 3C 45 72 72 6F 72 20 72 65 63 6F | }.@A@<Error reco |
63 | 76 65 72 79 20 70 6F 69 6E 74 40 3E 0A 0A 40 24 | very point@>..@$ |
64 | 40 3C 53 6C 6F 74 68 20 64 40 3E 40 5A 4D 40 7B | @<Sloth d@>@ZM@{ |
65 | 4F 6F 70 73 2E 40 7D 0A 40 41 40 3C 45 72 72 6F | Oops.@}.@A@<Erro |
66 | 72 20 72 65 63 6F 76 65 72 79 20 70 6F 69 6E 74 | r recovery point |
67 | 40 3E 0A 0A 0A | @>... |
68 +-------------------------------------------------+------------------+
69
70
71 =========================== Start of LINE LIST DUMP ============================
72
73 Globl Local| Text
74 -----------+--------------------------------------------------------------------
75 00001 00001| PR06: Test the parsing on invocation number constraints.<010>
76 00002 00002| <010>
77 00003 00003| Trip the parser so we don't get past it.<010>
78 00004 00004| @><010>
79 00005 00005| <010>
80 00006 00006| 1. Test with no zero and no many.<010>
81 00007 00007| @$@<Sloth@>@{No zero and no many in this macro@}<010>
82 00008 00008| <010>
83 00009 00009| 2. Test with a zero.<010>
84 00010 00010| @$@<Sloth zero@>@Z@{Can be called from 0 to 1 times.@}<010>
85 00011 00011| <010>
86 00012 00012| 3. Test with a many.<010>
87 00013 00013| @$@<Sloth many@>@M@{Can be called from 1 to infinity times.@}<010>
88 00014 00014| <010>
89 00015 00015| 4. Test with a zero and a many.<010>
90 00016 00016| @$@<Sloth zeromany@>@Z@M@{Can be called from 0 to infinity times.@}<010>
91 00017 00017| <010>
92 00018 00018| 5. Test with a zero and a many but out of order (should give error).<010>
93 00019 00019| @$@<Sloth manyzero@>@M@Z@{Oops.@}<010>
94 00020 00020| @A@<Error recovery point@><010>
95 00021 00021| <010>
96 00022 00022| 6. Test with syntactic errors.<010>
97 00023 00023| <010>
98 00024 00024| @$@<Sloth a@> @M @Z @{Oops.@}<010>
99 00025 00025| @A@<Error recovery point@><010>
100 00026 00026| <010>
101 00027 00027| @$@<Sloth b@>@Z@Z@{Oops.@}<010>
102 00028 00028| @A@<Error recovery point@><010>
103 00029 00029| <010>
104 00030 00030| @$@<Sloth c@Z@>@{Oops.@}<010>
105 00031 00031| @A@<Error recovery point@><010>
106 00032 00032| <010>
107 00033 00033| @$@<Sloth d@>Z@{Oops.@}<010>
108 00034 00034| @A@<Error recovery point@><010>
109 00035 00035| <010>
110 00036 00036| @$@<Sloth d@>@ZM@{Oops.@}<010>
111 00037 00037| @A@<Error recovery point@><010>
112 00038 00038| <010>
113 00039 00039| <010>
114 00040 00040| <End-Of-File><010>
115 -----------+--------------------------------------------------------------------
116 Globl Local| Text
117
118 ============================ End of LINE LIST DUMP =============================
119
120
121 =========================== Start of TOKEN LIST DUMP ===========================
122
123 Summary: There are 131 tokens in the token list.
124
125 Line[Column]: Token Description
126 -------------------------------
127
128 0001[01]: Text. Text scrap[Grey]="PR06: Test the parsing on invocation number constraints.<010>
129 <010>
130 Trip the parser so we don't get past it.<010>
131 "
132 0004[01]: @> Close name.
133 0004[03]: Text. Text scrap[Grey]="<010>
134 <010>
135 1. Test with no zero and no many.<010>
136 "
137 0007[01]: @$ Macro defn.
138 0007[03]: @< Open name.
139 0007[05]: Text. Text scrap[Grey]="Sloth"
140 0007[10]: @> Close name.
141 0007[12]: @{ Open defn.
142 0007[14]: Text. Text scrap[Grey]="No zero and no many in this macro"
143 0007[47]: @} Close defn.
144 0007[49]: Text. Text scrap[Grey]="<010>
145 <010>
146 2. Test with a zero.<010>
147 "
148 0010[01]: @$ Macro defn.
149 0010[03]: @< Open name.
150 0010[05]: Text. Text scrap[Grey]="Sloth zero"
151 0010[15]: @> Close name.
152 0010[17]: @Z Zero calls.
153 0010[19]: @{ Open defn.
154 0010[21]: Text. Text scrap[Grey]="Can be called from 0 to 1 times."
155 0010[53]: @} Close defn.
156 0010[55]: Text. Text scrap[Grey]="<010>
157 <010>
158 3. Test with a many.<010>
159 "
160 0013[01]: @$ Macro defn.
161 0013[03]: @< Open name.
162 0013[05]: Text. Text scrap[Grey]="Sloth many"
163 0013[15]: @> Close name.
164 0013[17]: @M Many calls.
165 0013[19]: @{ Open defn.
166 0013[21]: Text. Text scrap[Grey]="Can be called from 1 to infinity times."
167 0013[60]: @} Close defn.
168 0013[62]: Text. Text scrap[Grey]="<010>
169 <010>
170 4. Test with a zero and a many.<010>
171 "
172 0016[01]: @$ Macro defn.
173 0016[03]: @< Open name.
174 0016[05]: Text. Text scrap[Grey]="Sloth zeromany"
175 0016[19]: @> Close name.
176 0016[21]: @Z Zero calls.
177 0016[23]: @M Many calls.
178 0016[25]: @{ Open defn.
179 0016[27]: Text. Text scrap[Grey]="Can be called from 0 to infinity times."
180 0016[66]: @} Close defn.
181 0016[68]: Text. Text scrap[Grey]="<010>
182 <010>
183 5. Test with a zero and a many but out of order (should give error).<010>
184 "
185 0019[01]: @$ Macro defn.
186 0019[03]: @< Open name.
187 0019[05]: Text. Text scrap[Grey]="Sloth manyzero"
188 0019[19]: @> Close name.
189 0019[21]: @M Many calls.
190 0019[23]: @Z Zero calls.
191 0019[25]: @{ Open defn.
192 0019[27]: Text. Text scrap[Grey]="Oops."
193 0019[32]: @} Close defn.
194 0019[34]: Text. Text scrap[White]="<010>
195 "
196 0020[01]: @A New section (Level 1).
197 0020[03]: @< Open name.
198 0020[05]: Text. Text scrap[Grey]="Error recovery point"
199 0020[25]: @> Close name.
200 0020[27]: Text. Text scrap[Grey]="<010>
201 <010>
202 6. Test with syntactic errors.<010>
203 <010>
204 "
205 0024[01]: @$ Macro defn.
206 0024[03]: @< Open name.
207 0024[05]: Text. Text scrap[Grey]="Sloth a"
208 0024[12]: @> Close name.
209 0024[14]: Text. Text scrap[White]=" "
210 0024[15]: @M Many calls.
211 0024[17]: Text. Text scrap[White]=" "
212 0024[18]: @Z Zero calls.
213 0024[20]: Text. Text scrap[White]=" "
214 0024[21]: @{ Open defn.
215 0024[23]: Text. Text scrap[Grey]="Oops."
216 0024[28]: @} Close defn.
217 0024[30]: Text. Text scrap[White]="<010>
218 "
219 0025[01]: @A New section (Level 1).
220 0025[03]: @< Open name.
221 0025[05]: Text. Text scrap[Grey]="Error recovery point"
222 0025[25]: @> Close name.
223 0025[27]: Text. Text scrap[White]="<010>
224 <010>
225 "
226 0027[01]: @$ Macro defn.
227 0027[03]: @< Open name.
228 0027[05]: Text. Text scrap[Grey]="Sloth b"
229 0027[12]: @> Close name.
230 0027[14]: @Z Zero calls.
231 0027[16]: @Z Zero calls.
232 0027[18]: @{ Open defn.
233 0027[20]: Text. Text scrap[Grey]="Oops."
234 0027[25]: @} Close defn.
235 0027[27]: Text. Text scrap[White]="<010>
236 "
237 0028[01]: @A New section (Level 1).
238 0028[03]: @< Open name.
239 0028[05]: Text. Text scrap[Grey]="Error recovery point"
240 0028[25]: @> Close name.
241 0028[27]: Text. Text scrap[White]="<010>
242 <010>
243 "
244 0030[01]: @$ Macro defn.
245 0030[03]: @< Open name.
246 0030[05]: Text. Text scrap[Grey]="Sloth c"
247 0030[12]: @Z Zero calls.
248 0030[14]: @> Close name.
249 0030[16]: @{ Open defn.
250 0030[18]: Text. Text scrap[Grey]="Oops."
251 0030[23]: @} Close defn.
252 0030[25]: Text. Text scrap[White]="<010>
253 "
254 0031[01]: @A New section (Level 1).
255 0031[03]: @< Open name.
256 0031[05]: Text. Text scrap[Grey]="Error recovery point"
257 0031[25]: @> Close name.
258 0031[27]: Text. Text scrap[White]="<010>
259 <010>
260 "
261 0033[01]: @$ Macro defn.
262 0033[03]: @< Open name.
263 0033[05]: Text. Text scrap[Grey]="Sloth d"
264 0033[12]: @> Close name.
265 0033[14]: Text. Text scrap[Grey]="Z"
266 0033[15]: @{ Open defn.
267 0033[17]: Text. Text scrap[Grey]="Oops."
268 0033[22]: @} Close defn.
269 0033[24]: Text. Text scrap[White]="<010>
270 "
271 0034[01]: @A New section (Level 1).
272 0034[03]: @< Open name.
273 0034[05]: Text. Text scrap[Grey]="Error recovery point"
274 0034[25]: @> Close name.
275 0034[27]: Text. Text scrap[White]="<010>
276 <010>
277 "
278 0036[01]: @$ Macro defn.
279 0036[03]: @< Open name.
280 0036[05]: Text. Text scrap[Grey]="Sloth d"
281 0036[12]: @> Close name.
282 0036[14]: @Z Zero calls.
283 0036[16]: Text. Text scrap[Grey]="M"
284 0036[17]: @{ Open defn.
285 0036[19]: Text. Text scrap[Grey]="Oops."
286 0036[24]: @} Close defn.
287 0036[26]: Text. Text scrap[White]="<010>
288 "
289 0037[01]: @A New section (Level 1).
290 0037[03]: @< Open name.
291 0037[05]: Text. Text scrap[Grey]="Error recovery point"
292 0037[25]: @> Close name.
293 0037[27]: Text. Text scrap[White]="<010>
294 <010>
295 <010>
296 "
297 0040[01]: End Of File.
298 ============================ End of TOKEN LIST DUMP ============================
299
300
301 ========================== Start of MACRO TABLE DUMP ===========================
302
303
304 ------------------- Start of Macro Dump --------------------
305 Macro Name : "Sloth"
306 Macro MinLv : 0
307 Call list :
308
309 Level 0 is defined as follows.
310 Parameters : 0
311 Pos(L,C) : (7,1)
312 Additive? : No.
313 Zero Calls? : No.
314 Many Calls? : No.
315 Output File?: No.
316 Macro body :
317
318 --Start of List of Body Parts--
319 This macro has 1 body part.
320 Body part 1: Seqnum=1, Pos(L,C)=(7,3), Expression follows:
321
322 ---- Start of Expression ----
323
324 ----- Start Text Element -----
325 Text scrap[Grey]="No zero and no many in this macro"
326 ------ End Text Element ------
327
328 ----- End of Expression -----
329
330 ---End of List of Body Parts---
331
332 Level 1 is not defined.
333 Level 2 is not defined.
334 Level 3 is not defined.
335 Level 4 is not defined.
336 Level 5 is not defined.
337 -------------------- End of Macro Dump ---------------------
338
339
340
341 ------------------- Start of Macro Dump --------------------
342 Macro Name : "Sloth a"
343 Macro MinLv : 6
344 Call list :
345 Level 0 is not defined.
346 Level 1 is not defined.
347 Level 2 is not defined.
348 Level 3 is not defined.
349 Level 4 is not defined.
350 Level 5 is not defined.
351 -------------------- End of Macro Dump ---------------------
352
353
354
355 ------------------- Start of Macro Dump --------------------
356 Macro Name : "Sloth b"
357 Macro MinLv : 0
358 Call list :
359
360 Level 0 is defined as follows.
361 Parameters : 0
362 Pos(L,C) : (27,1)
363 Additive? : No.
364 Zero Calls? : Yes.
365 Many Calls? : No.
366 Output File?: No.
367 Macro body :
368
369 --Start of List of Body Parts--
370 This macro has 0 body parts.
371 ---End of List of Body Parts---
372
373 Level 1 is not defined.
374 Level 2 is not defined.
375 Level 3 is not defined.
376 Level 4 is not defined.
377 Level 5 is not defined.
378 -------------------- End of Macro Dump ---------------------
379
380
381
382 ------------------- Start of Macro Dump --------------------
383 Macro Name : "Sloth d"
384 Macro MinLv : 6
385 Call list :
386 Level 0 is not defined.
387 Level 1 is not defined.
388 Level 2 is not defined.
389 Level 3 is not defined.
390 Level 4 is not defined.
391 Level 5 is not defined.
392 -------------------- End of Macro Dump ---------------------
393
394
395
396 ------------------- Start of Macro Dump --------------------
397 Macro Name : "Sloth many"
398 Macro MinLv : 0
399 Call list :
400
401 Level 0 is defined as follows.
402 Parameters : 0
403 Pos(L,C) : (13,1)
404 Additive? : No.
405 Zero Calls? : No.
406 Many Calls? : Yes.
407 Output File?: No.
408 Macro body :
409
410 --Start of List of Body Parts--
411 This macro has 1 body part.
412 Body part 1: Seqnum=3, Pos(L,C)=(13,3), Expression follows:
413
414 ---- Start of Expression ----
415
416 ----- Start Text Element -----
417 Text scrap[Grey]="Can be called from 1 to infinity times."
418 ------ End Text Element ------
419
420 ----- End of Expression -----
421
422 ---End of List of Body Parts---
423
424 Level 1 is not defined.
425 Level 2 is not defined.
426 Level 3 is not defined.
427 Level 4 is not defined.
428 Level 5 is not defined.
429 -------------------- End of Macro Dump ---------------------
430
431
432
433 ------------------- Start of Macro Dump --------------------
434 Macro Name : "Sloth manyzero"
435 Macro MinLv : 0
436 Call list :
437
438 Level 0 is defined as follows.
439 Parameters : 0
440 Pos(L,C) : (19,1)
441 Additive? : No.
442 Zero Calls? : No.
443 Many Calls? : Yes.
444 Output File?: No.
445 Macro body :
446
447 --Start of List of Body Parts--
448 This macro has 0 body parts.
449 ---End of List of Body Parts---
450
451 Level 1 is not defined.
452 Level 2 is not defined.
453 Level 3 is not defined.
454 Level 4 is not defined.
455 Level 5 is not defined.
456 -------------------- End of Macro Dump ---------------------
457
458
459
460 ------------------- Start of Macro Dump --------------------
461 Macro Name : "Sloth zero"
462 Macro MinLv : 0
463 Call list :
464
465 Level 0 is defined as follows.
466 Parameters : 0
467 Pos(L,C) : (10,1)
468 Additive? : No.
469 Zero Calls? : Yes.
470 Many Calls? : No.
471 Output File?: No.
472 Macro body :
473
474 --Start of List of Body Parts--
475 This macro has 1 body part.
476 Body part 1: Seqnum=2, Pos(L,C)=(10,3), Expression follows:
477
478 ---- Start of Expression ----
479
480 ----- Start Text Element -----
481 Text scrap[Grey]="Can be called from 0 to 1 times."
482 ------ End Text Element ------
483
484 ----- End of Expression -----
485
486 ---End of List of Body Parts---
487
488 Level 1 is not defined.
489 Level 2 is not defined.
490 Level 3 is not defined.
491 Level 4 is not defined.
492 Level 5 is not defined.
493 -------------------- End of Macro Dump ---------------------
494
495
496
497 ------------------- Start of Macro Dump --------------------
498 Macro Name : "Sloth zeromany"
499 Macro MinLv : 0
500 Call list :
501
502 Level 0 is defined as follows.
503 Parameters : 0
504 Pos(L,C) : (16,1)
505 Additive? : No.
506 Zero Calls? : Yes.
507 Many Calls? : Yes.
508 Output File?: No.
509 Macro body :
510
511 --Start of List of Body Parts--
512 This macro has 1 body part.
513 Body part 1: Seqnum=4, Pos(L,C)=(16,3), Expression follows:
514
515 ---- Start of Expression ----
516
517 ----- Start Text Element -----
518 Text scrap[Grey]="Can be called from 0 to infinity times."
519 ------ End Text Element ------
520
521 ----- End of Expression -----
522
523 ---End of List of Body Parts---
524
525 Level 1 is not defined.
526 Level 2 is not defined.
527 Level 3 is not defined.
528 Level 4 is not defined.
529 Level 5 is not defined.
530 -------------------- End of Macro Dump ---------------------
531
532
533
534 =========================== End of MACRO TABLE DUMP ============================
535
536
537 ========================= Start of DOCUMENT LIST DUMP ==========================
538
539
540 TEXT COMPONENT: Pos(L,C)=(1,1).
541
542 -- Start of Text Scrap List --
543 Text scrap[Grey]="PR06: Test the parsing on invocation number constraints.<010>
544 <010>
545 Trip the parser so we don't get past it.<010>
546 "
547 --- End of Text Scrap List ---
548
549
550 TEXT COMPONENT: Pos(L,C)=(4,3).
551
552 -- Start of Text Scrap List --
553 Text scrap[Grey]="<010>
554 <010>
555 1. Test with no zero and no many.<010>
556 "
557 --- End of Text Scrap List ---
558
559
560 MACRO DEFINITION COMPONENT: Pos(L,C)=(7,1).
561 Part 1 of level 0 of macro @<Sloth@>.
562
563 TEXT COMPONENT: Pos(L,C)=(7,49).
564
565 -- Start of Text Scrap List --
566 Text scrap[Grey]="<010>
567 <010>
568 2. Test with a zero.<010>
569 "
570 --- End of Text Scrap List ---
571
572
573 MACRO DEFINITION COMPONENT: Pos(L,C)=(10,1).
574 Part 1 of level 0 of macro @<Sloth zero@>.
575
576 TEXT COMPONENT: Pos(L,C)=(10,55).
577
578 -- Start of Text Scrap List --
579 Text scrap[Grey]="<010>
580 <010>
581 3. Test with a many.<010>
582 "
583 --- End of Text Scrap List ---
584
585
586 MACRO DEFINITION COMPONENT: Pos(L,C)=(13,1).
587 Part 1 of level 0 of macro @<Sloth many@>.
588
589 TEXT COMPONENT: Pos(L,C)=(13,62).
590
591 -- Start of Text Scrap List --
592 Text scrap[Grey]="<010>
593 <010>
594 4. Test with a zero and a many.<010>
595 "
596 --- End of Text Scrap List ---
597
598
599 MACRO DEFINITION COMPONENT: Pos(L,C)=(16,1).
600 Part 1 of level 0 of macro @<Sloth zeromany@>.
601
602 TEXT COMPONENT: Pos(L,C)=(16,68).
603
604 -- Start of Text Scrap List --
605 Text scrap[Grey]="<010>
606 <010>
607 5. Test with a zero and a many but out of order (should give error).<010>
608 "
609 --- End of Text Scrap List ---
610
611
612 TYPESETTER DIRECTIVE COMPONENT:
613 Section "1", Section name="Error recovery point".
614
615 TEXT COMPONENT: Pos(L,C)=(20,27).
616
617 -- Start of Text Scrap List --
618 Text scrap[Grey]="<010>
619 <010>
620 6. Test with syntactic errors.<010>
621 <010>
622 "
623 --- End of Text Scrap List ---
624
625
626 TYPESETTER DIRECTIVE COMPONENT:
627 Section "2", Section name="Error recovery point".
628
629 TEXT COMPONENT: Pos(L,C)=(25,27).
630
631 -- Start of Text Scrap List --
632 Text scrap[White]="<010>
633 <010>
634 "
635 --- End of Text Scrap List ---
636
637
638 TYPESETTER DIRECTIVE COMPONENT:
639 Section "3", Section name="Error recovery point".
640
641 TEXT COMPONENT: Pos(L,C)=(28,27).
642
643 -- Start of Text Scrap List --
644 Text scrap[White]="<010>
645 <010>
646 "
647 --- End of Text Scrap List ---
648
649
650 TYPESETTER DIRECTIVE COMPONENT:
651 Section "4", Section name="Error recovery point".
652
653 TEXT COMPONENT: Pos(L,C)=(31,27).
654
655 -- Start of Text Scrap List --
656 Text scrap[White]="<010>
657 <010>
658 "
659 --- End of Text Scrap List ---
660
661
662 TYPESETTER DIRECTIVE COMPONENT:
663 Section "5", Section name="Error recovery point".
664
665 TEXT COMPONENT: Pos(L,C)=(34,27).
666
667 -- Start of Text Scrap List --
668 Text scrap[White]="<010>
669 <010>
670 "
671 --- End of Text Scrap List ---
672
673
674 TYPESETTER DIRECTIVE COMPONENT:
675 Section "6", Section name="Error recovery point".
676
677 TEXT COMPONENT: Pos(L,C)=(37,27).
678
679 -- Start of Text Scrap List --
680 Text scrap[White]="<010>
681 <010>
682 <010>
683 "
684 --- End of Text Scrap List ---
685
686
687 ========================== End of DOCUMENT LIST DUMP ===========================
688
689
690 Global Local| Input File
691 ------------+-------------------------------------------------------------------
692 1 1| PR06: Test the parsing on invocation number constraints.
693 2 2|
694 3 3| Trip the parser so we don't get past it.
695 4 4| @>
696 Error|.^The parser was at the top level and was expecting
697 |.^one of: {Directive, Text, Macro definition, EOF}.
698 5 5|
699 6 6| 1. Test with no zero and no many.
700 7 7| @$@<Sloth@>@{No zero and no many in this macro@}
701 8 8|
702 9 9| 2. Test with a zero.
703 10 10| @$@<Sloth zero@>@Z@{Can be called from 0 to 1 times.@}
704 11 11|
705 12 12| 3. Test with a many.
706 13 13| @$@<Sloth many@>@M@{Can be called from 1 to infinity times.@}
707 14 14|
708 15 15| 4. Test with a zero and a many.
709 16 16| @$@<Sloth zeromany@>@Z@M@{Can be called from 0 to infinity times.@}
710 17 17|
711 18 18| 5. Test with a zero and a many but out of order (should give error).
712 19 19| @$@<Sloth manyzero@>@M@Z@{Oops.@}
713 Error|.......................^Expecting '@{'.
714 |.......................^Skipping after error to the next major construct...
715 20 20| @A@<Error recovery point@>
716 |.^...skipped to here after the error.
717 21 21|
718 22 22| 6. Test with syntactic errors.
719 23 23|
720 24 24| @$@<Sloth a@> @M @Z @{Oops.@}
721 Error|..............^Expecting "==@{" or "+=@{" or just "@{".
722 |..............^(or @Z or @M or @L if they have not already appeared).
723 |..............^Note: FunnelWeb is intolerant of spaces at this point.
724 |...............^Skipping after error to the next major construct...
725 25 25| @A@<Error recovery point@>
726 |.^...skipped to here after the error.
727 26 26|
728 27 27| @$@<Sloth b@>@Z@Z@{Oops.@}
729 Error|................^Expecting '@{'.
730 |................^Skipping after error to the next major construct...
731 28 28| @A@<Error recovery point@>
732 |.^...skipped to here after the error.
733 29 29|
734 30 30| @$@<Sloth c@Z@>@{Oops.@}
735 Error|............^Illegal character or symbol in name.
736 |............^Skipping after error to the next major construct...
737 31 31| @A@<Error recovery point@>
738 |.^...skipped to here after the error.
739 32 32|
740 33 33| @$@<Sloth d@>Z@{Oops.@}
741 Error|..............^Expecting "==@{" or "+=@{" or just "@{".
742 |..............^(or @Z or @M or @L if they have not already appeared).
743 |..............^Note: FunnelWeb is intolerant of spaces at this point.
744 |...............^Skipping after error to the next major construct...
745 34 34| @A@<Error recovery point@>
746 |.^...skipped to here after the error.
747 35 35|
748 36 36| @$@<Sloth d@>@ZM@{Oops.@}
749 Error|................^Expecting "==@{" or "+=@{" or just "@{".
750 |................^(or @Z or @M or @L if they have not already appeared).
751 |................^Note: FunnelWeb is intolerant of spaces at this point.
752 |.................^Skipping after error to the next major construct...
753 37 37| @A@<Error recovery point@>
754 |.^...skipped to here after the error.
755 38 38|
756 39 39|
757 | <End-Of-File>
758 ------------+-------------------------------------------------------------------
759
760 There were 7 Errors.