Debian Codegraph @

answers/pr10.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 31 30 3A 20 54 65 73 74 20 73 79 6E 74 61 | PR10: Test synta |
13 | 63 74 69 63 20 65 72 72 6F 72 20 72 65 63 6F 76 | ctic error recov |
14 | 65 72 79 2E 0A 0A 31 2E 20 54 65 73 74 20 72 65 | ery...1. Test re |
15 | 63 6F 76 65 72 79 20 61 74 20 74 6F 70 20 70 61 | covery at top pa |
16 | 72 73 69 6E 67 20 6C 65 76 65 6C 2E 0A 40 3C 0A | rsing level..@<. |
17 | 0A 40 41 40 3C 45 72 72 6F 72 20 72 65 63 6F 76 | .@A@<Error recov |
18 | 65 72 79 20 70 6F 69 6E 74 40 3E 0A 0A 32 2E 20 | ery point@>..2. |
19 | 54 65 73 74 20 72 65 63 6F 76 65 72 79 20 69 6E | Test recovery in |
20 | 73 69 64 65 20 6D 61 63 72 6F 20 64 65 66 69 6E | side macro defin |
21 | 69 74 69 6F 6E 2E 0A 0A 40 24 40 3C 53 6C 6F 74 | ition...@$@<Slot |
22 | 68 31 40 3E 40 3E 3D 3D 40 7B 0A 57 61 6C 72 75 | h1@>@>==@{.Walru |
23 | 73 40 7D 0A 0A 40 24 40 3C 53 6C 6F 74 68 32 40 | s@}..@$@<Sloth2@ |
24 | 3E 3D 3D 40 7B 0A 40 3C 57 61 6C 72 75 73 40 3C | >==@{.@<Walrus@< |
25 | 0A 40 7D 0A 40 41 40 3C 45 72 72 6F 72 20 72 65 | .@}.@A@<Error re |
26 | 63 6F 76 65 72 79 20 70 6F 69 6E 74 40 3E 0A 0A | covery point@>.. |
27 | 33 2E 20 54 65 73 74 20 72 65 63 6F 76 65 72 79 | 3. Test recovery |
28 | 20 69 6E 73 69 64 65 20 61 63 74 75 61 6C 20 70 | inside actual p |
29 | 61 72 61 6D 65 74 65 72 20 6C 69 73 74 20 69 6E | arameter list in |
30 | 20 6D 61 63 72 6F 20 64 65 66 69 6E 69 74 69 6F | macro definitio |
31 | 6E 2E 0A 40 24 40 3C 53 6C 6F 74 68 33 40 3E 3D | n..@$@<Sloth3@>= |
32 | 3D 40 7B 0A 40 3C 57 61 6C 72 75 73 40 3E 40 28 | =@{.@<Walrus@>@( |
33 | 40 22 61 61 72 64 76 61 72 6B 40 3E 0A 40 7D 0A | @"aardvark@>.@}. |
34 | 40 41 40 3C 45 72 72 6F 72 20 72 65 63 6F 76 65 | @A@<Error recove |
35 | 72 79 20 70 6F 69 6E 74 40 3E 0A 0A 34 2E 20 54 | ry point@>..4. T |
36 | 65 73 74 20 45 4F 46 20 69 6E 20 74 68 65 20 6D | est EOF in the m |
37 | 69 64 64 6C 65 20 6F 66 20 61 20 63 6F 6D 70 6C | iddle of a compl |
38 | 69 63 61 74 65 64 20 63 6F 6E 73 74 72 75 63 74 | icated construct |
39 | 2E 0A 54 68 65 20 66 6F 6C 6C 6F 77 69 6E 67 20 | ..The following |
40 | 6D 61 6B 65 73 20 74 68 65 20 65 6E 64 20 6F 66 | makes the end of |
41 | 20 74 68 65 20 66 69 6C 65 20 6C 6F 6F 6B 65 64 | the file looked |
42 | 20 63 68 6F 70 70 65 64 20 6F 66 66 2C 20 62 75 | chopped off, bu |
43 | 74 20 69 74 20 69 73 0A 61 63 74 75 61 6C 6C 79 | t it is.actually |
44 | 20 69 6E 74 65 6E 74 69 6F 6E 61 6C 2E 0A 40 24 | intentional..@$ |
45 | 40 3C 53 6C 6F 74 68 34 40 3E 3D 3D 40 7B 0A 40 | @<Sloth4@>==@{.@ |
46 | 3C 57 61 6C 72 75 73 40 3E 40 28 40 22 61 61 72 | <Walrus@>@(@"aar |
47 | 64 76 61 0A | dva. |
48 +-------------------------------------------------+------------------+
49
50
51 =========================== Start of LINE LIST DUMP ============================
52
53 Globl Local| Text
54 -----------+--------------------------------------------------------------------
55 00001 00001| PR10: Test syntactic error recovery.<010>
56 00002 00002| <010>
57 00003 00003| 1. Test recovery at top parsing level.<010>
58 00004 00004| @<<010>
59 00005 00005| <010>
60 00006 00006| @A@<Error recovery point@><010>
61 00007 00007| <010>
62 00008 00008| 2. Test recovery inside macro definition.<010>
63 00009 00009| <010>
64 00010 00010| @$@<Sloth1@>@>==@{<010>
65 00011 00011| Walrus@}<010>
66 00012 00012| <010>
67 00013 00013| @$@<Sloth2@>==@{<010>
68 00014 00014| @<Walrus@<<010>
69 00015 00015| @}<010>
70 00016 00016| @A@<Error recovery point@><010>
71 00017 00017| <010>
72 00018 00018| 3. Test recovery inside actual parameter list in macro definition.<010>
73 00019 00019| @$@<Sloth3@>==@{<010>
74 00020 00020| @<Walrus@>@(@"aardvark@><010>
75 00021 00021| @}<010>
76 00022 00022| @A@<Error recovery point@><010>
77 00023 00023| <010>
78 00024 00024| 4. Test EOF in the middle of a complicated construct.<010>
79 00025 00025| The following makes the end of the file looked chopped off, but it is<010>
80 00026 00026| actually intentional.<010>
81 00027 00027| @$@<Sloth4@>==@{<010>
82 00028 00028| @<Walrus@>@(@"aardva<010>
83 00029 00029| <End-Of-File><010>
84 -----------+--------------------------------------------------------------------
85 Globl Local| Text
86
87 ============================ End of LINE LIST DUMP =============================
88
89
90 =========================== Start of TOKEN LIST DUMP ===========================
91
92 Summary: There are 72 tokens in the token list.
93
94 Line[Column]: Token Description
95 -------------------------------
96
97 0001[01]: Text. Text scrap[Grey]="PR10: Test syntactic error recovery.<010>
98 <010>
99 1. Test recovery at top parsing level.<010>
100 "
101 0004[01]: @< Open name.
102 0004[03]: Text. Text scrap[White]="<010>
103 <010>
104 "
105 0006[01]: @A New section (Level 1).
106 0006[03]: @< Open name.
107 0006[05]: Text. Text scrap[Grey]="Error recovery point"
108 0006[25]: @> Close name.
109 0006[27]: Text. Text scrap[Grey]="<010>
110 <010>
111 2. Test recovery inside macro definition.<010>
112 <010>
113 "
114 0010[01]: @$ Macro defn.
115 0010[03]: @< Open name.
116 0010[05]: Text. Text scrap[Grey]="Sloth1"
117 0010[11]: @> Close name.
118 0010[13]: @> Close name.
119 0010[15]: Text. Text scrap[Grey]="=="
120 0010[17]: @{ Open defn.
121 0010[19]: Text. Text scrap[Grey]="<010>
122 Walrus"
123 0011[07]: @} Close defn.
124 0011[09]: Text. Text scrap[White]="<010>
125 <010>
126 "
127 0013[01]: @$ Macro defn.
128 0013[03]: @< Open name.
129 0013[05]: Text. Text scrap[Grey]="Sloth2"
130 0013[11]: @> Close name.
131 0013[13]: Text. Text scrap[Grey]="=="
132 0013[15]: @{ Open defn.
133 0013[17]: Text. Text scrap[White]="<010>
134 "
135 0014[01]: @< Open name.
136 0014[03]: Text. Text scrap[Grey]="Walrus"
137 0014[09]: @< Open name.
138 0014[11]: Text. Text scrap[White]="<010>
139 "
140 0015[01]: @} Close defn.
141 0015[03]: Text. Text scrap[White]="<010>
142 "
143 0016[01]: @A New section (Level 1).
144 0016[03]: @< Open name.
145 0016[05]: Text. Text scrap[Grey]="Error recovery point"
146 0016[25]: @> Close name.
147 0016[27]: Text. Text scrap[Grey]="<010>
148 <010>
149 3. Test recovery inside actual parameter list in macro definition.<010>
150 "
151 0019[01]: @$ Macro defn.
152 0019[03]: @< Open name.
153 0019[05]: Text. Text scrap[Grey]="Sloth3"
154 0019[11]: @> Close name.
155 0019[13]: Text. Text scrap[Grey]="=="
156 0019[15]: @{ Open defn.
157 0019[17]: Text. Text scrap[White]="<010>
158 "
159 0020[01]: @< Open name.
160 0020[03]: Text. Text scrap[Grey]="Walrus"
161 0020[09]: @> Close name.
162 0020[11]: @( Open param.
163 0020[13]: @" Quote.
164 0020[15]: Text. Text scrap[Grey]="aardvark"
165 0020[23]: @> Close name.
166 0020[25]: Text. Text scrap[White]="<010>
167 "
168 0021[01]: @} Close defn.
169 0021[03]: Text. Text scrap[White]="<010>
170 "
171 0022[01]: @A New section (Level 1).
172 0022[03]: @< Open name.
173 0022[05]: Text. Text scrap[Grey]="Error recovery point"
174 0022[25]: @> Close name.
175 0022[27]: Text. Text scrap[Grey]="<010>
176 <010>
177 4. Test EOF in the middle of a complicated construct.<010>
178 The following makes the end of the file looked chopped off, but it is<010>
179 actually intentional.<010>
180 "
181 0027[01]: @$ Macro defn.
182 0027[03]: @< Open name.
183 0027[05]: Text. Text scrap[Grey]="Sloth4"
184 0027[11]: @> Close name.
185 0027[13]: Text. Text scrap[Grey]="=="
186 0027[15]: @{ Open defn.
187 0027[17]: Text. Text scrap[White]="<010>
188 "
189 0028[01]: @< Open name.
190 0028[03]: Text. Text scrap[Grey]="Walrus"
191 0028[09]: @> Close name.
192 0028[11]: @( Open param.
193 0028[13]: @" Quote.
194 0028[15]: Text. Text scrap[Grey]="aardva<010>
195 "
196 0029[01]: End Of File.
197 ============================ End of TOKEN LIST DUMP ============================
198
199
200 ========================== Start of MACRO TABLE DUMP ===========================
201
202
203 ------------------- Start of Macro Dump --------------------
204 Macro Name : "Sloth1"
205 Macro MinLv : 0
206 Call list :
207
208 Level 0 is defined as follows.
209 Parameters : 0
210 Pos(L,C) : (10,1)
211 Additive? : No.
212 Zero Calls? : No.
213 Many Calls? : No.
214 Output File?: No.
215 Macro body :
216
217 --Start of List of Body Parts--
218 This macro has 0 body parts.
219 ---End of List of Body Parts---
220
221 Level 1 is not defined.
222 Level 2 is not defined.
223 Level 3 is not defined.
224 Level 4 is not defined.
225 Level 5 is not defined.
226 -------------------- End of Macro Dump ---------------------
227
228
229
230 ------------------- Start of Macro Dump --------------------
231 Macro Name : "Sloth2"
232 Macro MinLv : 0
233 Call list :
234
235 Level 0 is defined as follows.
236 Parameters : 0
237 Pos(L,C) : (13,1)
238 Additive? : No.
239 Zero Calls? : No.
240 Many Calls? : No.
241 Output File?: No.
242 Macro body :
243
244 --Start of List of Body Parts--
245 This macro has 0 body parts.
246 ---End of List of Body Parts---
247
248 Level 1 is not defined.
249 Level 2 is not defined.
250 Level 3 is not defined.
251 Level 4 is not defined.
252 Level 5 is not defined.
253 -------------------- End of Macro Dump ---------------------
254
255
256
257 ------------------- Start of Macro Dump --------------------
258 Macro Name : "Sloth3"
259 Macro MinLv : 0
260 Call list :
261
262 Level 0 is defined as follows.
263 Parameters : 0
264 Pos(L,C) : (19,1)
265 Additive? : No.
266 Zero Calls? : No.
267 Many Calls? : No.
268 Output File?: No.
269 Macro body :
270
271 --Start of List of Body Parts--
272 This macro has 0 body parts.
273 ---End of List of Body Parts---
274
275 Level 1 is not defined.
276 Level 2 is not defined.
277 Level 3 is not defined.
278 Level 4 is not defined.
279 Level 5 is not defined.
280 -------------------- End of Macro Dump ---------------------
281
282
283
284 ------------------- Start of Macro Dump --------------------
285 Macro Name : "Sloth4"
286 Macro MinLv : 0
287 Call list :
288
289 Level 0 is defined as follows.
290 Parameters : 0
291 Pos(L,C) : (27,1)
292 Additive? : No.
293 Zero Calls? : No.
294 Many Calls? : No.
295 Output File?: No.
296 Macro body :
297
298 --Start of List of Body Parts--
299 This macro has 0 body parts.
300 ---End of List of Body Parts---
301
302 Level 1 is not defined.
303 Level 2 is not defined.
304 Level 3 is not defined.
305 Level 4 is not defined.
306 Level 5 is not defined.
307 -------------------- End of Macro Dump ---------------------
308
309
310
311 =========================== End of MACRO TABLE DUMP ============================
312
313
314 ========================= Start of DOCUMENT LIST DUMP ==========================
315
316
317 TEXT COMPONENT: Pos(L,C)=(1,1).
318
319 -- Start of Text Scrap List --
320 Text scrap[Grey]="PR10: Test syntactic error recovery.<010>
321 <010>
322 1. Test recovery at top parsing level.<010>
323 "
324 --- End of Text Scrap List ---
325
326
327 TEXT COMPONENT: Pos(L,C)=(4,3).
328
329 -- Start of Text Scrap List --
330 Text scrap[White]="<010>
331 <010>
332 "
333 --- End of Text Scrap List ---
334
335
336 TYPESETTER DIRECTIVE COMPONENT:
337 Section "1", Section name="Error recovery point".
338
339 TEXT COMPONENT: Pos(L,C)=(6,27).
340
341 -- Start of Text Scrap List --
342 Text scrap[Grey]="<010>
343 <010>
344 2. Test recovery inside macro definition.<010>
345 <010>
346 "
347 --- End of Text Scrap List ---
348
349
350 TYPESETTER DIRECTIVE COMPONENT:
351 Section "2", Section name="Error recovery point".
352
353 TEXT COMPONENT: Pos(L,C)=(16,27).
354
355 -- Start of Text Scrap List --
356 Text scrap[Grey]="<010>
357 <010>
358 3. Test recovery inside actual parameter list in macro definition.<010>
359 "
360 --- End of Text Scrap List ---
361
362
363 TYPESETTER DIRECTIVE COMPONENT:
364 Section "3", Section name="Error recovery point".
365
366 TEXT COMPONENT: Pos(L,C)=(22,27).
367
368 -- Start of Text Scrap List --
369 Text scrap[Grey]="<010>
370 <010>
371 4. Test EOF in the middle of a complicated construct.<010>
372 The following makes the end of the file looked chopped off, but it is<010>
373 actually intentional.<010>
374 "
375 --- End of Text Scrap List ---
376
377
378 ========================== End of DOCUMENT LIST DUMP ===========================
379
380
381 Global Local| Input File
382 ------------+-------------------------------------------------------------------
383 1 1| PR10: Test syntactic error recovery.
384 2 2|
385 3 3| 1. Test recovery at top parsing level.
386 4 4| @<
387 Error|.^The parser was at the top level and was expecting
388 |.^one of: {Directive, Text, Macro definition, EOF}.
389 5 5|
390 6 6| @A@<Error recovery point@>
391 7 7|
392 8 8| 2. Test recovery inside macro definition.
393 9 9|
394 10 10| @$@<Sloth1@>@>==@{
395 Error|.............^Expecting '@{'.
396 |.............^Skipping after error to the next major construct...
397 11 11| Walrus@}
398 12 12|
399 13 13| @$@<Sloth2@>==@{
400 |.^...skipped to here after the error.
401 14 14| @<Walrus@<
402 Error|.........^Illegal character or symbol in name.
403 |.........^Skipping after error to the next major construct...
404 15 15| @}
405 16 16| @A@<Error recovery point@>
406 |.^...skipped to here after the error.
407 17 17|
408 18 18| 3. Test recovery inside actual parameter list in macro definition.
409 19 19| @$@<Sloth3@>==@{
410 20 20| @<Walrus@>@(@"aardvark@>
411 Error|.......................^Expecting '@"'.
412 |.......................^Skipping after error to the next major construct...
413 21 21| @}
414 22 22| @A@<Error recovery point@>
415 |.^...skipped to here after the error.
416 23 23|
417 24 24| 4. Test EOF in the middle of a complicated construct.
418 25 25| The following makes the end of the file looked chopped off, but it is
419 26 26| actually intentional.
420 27 27| @$@<Sloth4@>==@{
421 28 28| @<Walrus@>@(@"aardva
422 | <End-Of-File>
423 Error|.^Expecting '@"'.
424 |.^Skipping after error to the next major construct...
425 |.^...skipped to here after the error.
426 ------------+-------------------------------------------------------------------
427
428 There were 5 Errors.