Debian Codegraph @

answers/pr03.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 33 3A 20 54 65 73 74 20 74 68 65 20 70 | PR03: Test the p |
13 | 61 72 73 69 6E 67 20 61 6E 64 20 73 65 6D 61 6E | arsing and seman |
14 | 74 69 63 73 20 6F 66 20 73 65 63 74 69 6F 6E 73 | tics of sections |
15 | 2E 0A 0A 34 2E 20 54 65 73 74 20 66 69 72 73 74 | ...4. Test first |
16 | 20 73 65 63 74 69 6F 6E 20 6F 66 20 64 6F 63 75 | section of docu |
17 | 6D 65 6E 74 20 69 73 20 6E 6F 74 20 3C 73 70 65 | ment is not <spe |
18 | 63 69 61 6C 3E 41 2E 0A 40 42 40 3C 54 68 69 73 | cial>A..@B@<This |
19 | 20 73 65 63 74 69 6F 6E 20 69 73 20 6F 75 74 20 | section is out |
20 | 6F 66 20 6F 72 64 65 72 20 28 61 6E 64 20 73 6F | of order (and so |
21 | 20 69 73 20 74 68 69 73 20 74 65 73 74 21 29 40 | is this test!)@ |
22 | 3E 0A 0A 31 2E 20 54 65 73 74 20 73 65 63 74 69 | >..1. Test secti |
23 | 6F 6E 20 77 69 74 68 20 6E 6F 20 6E 61 6D 65 2E | on with no name. |
24 | 0A 40 41 20 54 68 69 73 20 73 65 63 74 69 6F 6E | .@A This section |
25 | 20 68 61 73 20 6E 6F 20 6E 61 6D 65 2E 0A 40 24 | has no name..@$ |
26 | 40 3C 54 68 65 20 73 65 63 74 69 6F 6E 20 6E 61 | @<The section na |
27 | 6D 65 20 69 6E 68 65 72 69 74 73 20 74 68 65 20 | me inherits the |
28 | 6E 61 6D 65 20 6F 66 20 74 68 69 73 20 6D 61 63 | name of this mac |
29 | 72 6F 40 3E 40 7B 57 61 6C 72 75 73 40 7D 0A 0A | ro@>@{Walrus@}.. |
30 | 32 2E 20 54 65 73 74 20 73 65 63 74 69 6F 6E 20 | 2. Test section |
31 | 77 69 74 68 20 61 20 6E 61 6D 65 0A 40 41 40 3C | with a name.@A@< |
32 | 54 68 69 73 20 73 65 63 74 69 6F 6E 20 68 61 73 | This section has |
33 | 20 6E 6F 20 6E 61 6D 65 2E 40 3E 0A 0A 33 2E 20 | no name.@>..3. |
34 | 54 65 73 74 20 74 68 65 20 65 6E 74 69 72 65 20 | Test the entire |
35 | 68 69 65 72 61 72 63 68 79 2E 0A 40 41 40 3C 4F | hierarchy..@A@<O |
36 | 6E 65 40 3E 0A 40 42 40 3C 54 77 6F 40 3E 0A 40 | ne@>.@B@<Two@>.@ |
37 | 43 40 3C 54 68 72 65 65 40 3E 0A 40 44 40 3C 46 | C@<Three@>.@D@<F |
38 | 6F 75 72 40 3E 0A 40 45 40 3C 46 69 76 65 40 3E | our@>.@E@<Five@> |
39 | 0A 0A 35 2E 20 54 65 73 74 20 64 65 74 65 63 74 | ..5. Test detect |
40 | 69 6F 6E 20 6F 66 20 64 69 73 63 6F 6E 74 69 6E | ion of discontin |
41 | 75 69 74 79 20 69 6E 20 6C 65 76 65 6C 73 2E 0A | uity in levels.. |
42 | 40 41 40 3C 4F 6E 65 40 3E 0A 40 43 40 3C 54 68 | @A@<One@>.@C@<Th |
43 | 72 65 65 40 3E 0A 40 45 40 3C 46 69 76 65 40 3E | ree@>.@E@<Five@> |
44 | 0A 0A 40 41 40 3C 4F 6E 65 40 3E 0A 40 42 40 3C | ..@A@<One@>.@B@< |
45 | 54 68 72 65 65 40 3E 0A 40 44 40 3C 46 69 76 65 | Three@>.@D@<Five |
46 | 40 3E 0A | @>. |
47 +-------------------------------------------------+------------------+
48
49
50 =========================== Start of LINE LIST DUMP ============================
51
52 Globl Local| Text
53 -----------+--------------------------------------------------------------------
54 00001 00001| PR03: Test the parsing and semantics of sections.<010>
55 00002 00002| <010>
56 00003 00003| 4. Test first section of document is not <special>A.<010>
57 00004 00004| @B@<This section is out of order (and so is this test!)@><010>
58 00005 00005| <010>
59 00006 00006| 1. Test section with no name.<010>
60 00007 00007| @A This section has no name.<010>
61 00008 00008| @$@<The section name inherits the name of this macro@>@{Walrus@}<010>
62 00009 00009| <010>
63 00010 00010| 2. Test section with a name<010>
64 00011 00011| @A@<This section has no name.@><010>
65 00012 00012| <010>
66 00013 00013| 3. Test the entire hierarchy.<010>
67 00014 00014| @A@<One@><010>
68 00015 00015| @B@<Two@><010>
69 00016 00016| @C@<Three@><010>
70 00017 00017| @D@<Four@><010>
71 00018 00018| @E@<Five@><010>
72 00019 00019| <010>
73 00020 00020| 5. Test detection of discontinuity in levels.<010>
74 00021 00021| @A@<One@><010>
75 00022 00022| @C@<Three@><010>
76 00023 00023| @E@<Five@><010>
77 00024 00024| <010>
78 00025 00025| @A@<One@><010>
79 00026 00026| @B@<Three@><010>
80 00027 00027| @D@<Five@><010>
81 00028 00028| <End-Of-File><010>
82 -----------+--------------------------------------------------------------------
83 Globl Local| Text
84
85 ============================ End of LINE LIST DUMP =============================
86
87
88 =========================== Start of TOKEN LIST DUMP ===========================
89
90 Summary: There are 77 tokens in the token list.
91
92 Line[Column]: Token Description
93 -------------------------------
94
95 0001[01]: Text. Text scrap[Grey]="PR03: Test the parsing and semantics of sections.<010>
96 <010>
97 4. Test first section of document is not <special>A.<010>
98 "
99 0004[01]: @B New section (Level 2).
100 0004[03]: @< Open name.
101 0004[05]: Text. Text scrap[Grey]="This section is out of order (and so is this test!)"
102 0004[56]: @> Close name.
103 0004[58]: Text. Text scrap[Grey]="<010>
104 <010>
105 1. Test section with no name.<010>
106 "
107 0007[01]: @A New section (Level 1).
108 0007[03]: Text. Text scrap[Grey]=" This section has no name.<010>
109 "
110 0008[01]: @$ Macro defn.
111 0008[03]: @< Open name.
112 0008[05]: Text. Text scrap[Grey]="The section name inherits the name of this macro"
113 0008[53]: @> Close name.
114 0008[55]: @{ Open defn.
115 0008[57]: Text. Text scrap[Grey]="Walrus"
116 0008[63]: @} Close defn.
117 0008[65]: Text. Text scrap[Grey]="<010>
118 <010>
119 2. Test section with a name<010>
120 "
121 0011[01]: @A New section (Level 1).
122 0011[03]: @< Open name.
123 0011[05]: Text. Text scrap[Grey]="This section has no name."
124 0011[30]: @> Close name.
125 0011[32]: Text. Text scrap[Grey]="<010>
126 <010>
127 3. Test the entire hierarchy.<010>
128 "
129 0014[01]: @A New section (Level 1).
130 0014[03]: @< Open name.
131 0014[05]: Text. Text scrap[Grey]="One"
132 0014[08]: @> Close name.
133 0014[10]: Text. Text scrap[White]="<010>
134 "
135 0015[01]: @B New section (Level 2).
136 0015[03]: @< Open name.
137 0015[05]: Text. Text scrap[Grey]="Two"
138 0015[08]: @> Close name.
139 0015[10]: Text. Text scrap[White]="<010>
140 "
141 0016[01]: @C New section (Level 3).
142 0016[03]: @< Open name.
143 0016[05]: Text. Text scrap[Grey]="Three"
144 0016[10]: @> Close name.
145 0016[12]: Text. Text scrap[White]="<010>
146 "
147 0017[01]: @D New section (Level 4).
148 0017[03]: @< Open name.
149 0017[05]: Text. Text scrap[Grey]="Four"
150 0017[09]: @> Close name.
151 0017[11]: Text. Text scrap[White]="<010>
152 "
153 0018[01]: @E New section (Level 5).
154 0018[03]: @< Open name.
155 0018[05]: Text. Text scrap[Grey]="Five"
156 0018[09]: @> Close name.
157 0018[11]: Text. Text scrap[Grey]="<010>
158 <010>
159 5. Test detection of discontinuity in levels.<010>
160 "
161 0021[01]: @A New section (Level 1).
162 0021[03]: @< Open name.
163 0021[05]: Text. Text scrap[Grey]="One"
164 0021[08]: @> Close name.
165 0021[10]: Text. Text scrap[White]="<010>
166 "
167 0022[01]: @C New section (Level 3).
168 0022[03]: @< Open name.
169 0022[05]: Text. Text scrap[Grey]="Three"
170 0022[10]: @> Close name.
171 0022[12]: Text. Text scrap[White]="<010>
172 "
173 0023[01]: @E New section (Level 5).
174 0023[03]: @< Open name.
175 0023[05]: Text. Text scrap[Grey]="Five"
176 0023[09]: @> Close name.
177 0023[11]: Text. Text scrap[White]="<010>
178 <010>
179 "
180 0025[01]: @A New section (Level 1).
181 0025[03]: @< Open name.
182 0025[05]: Text. Text scrap[Grey]="One"
183 0025[08]: @> Close name.
184 0025[10]: Text. Text scrap[White]="<010>
185 "
186 0026[01]: @B New section (Level 2).
187 0026[03]: @< Open name.
188 0026[05]: Text. Text scrap[Grey]="Three"
189 0026[10]: @> Close name.
190 0026[12]: Text. Text scrap[White]="<010>
191 "
192 0027[01]: @D New section (Level 4).
193 0027[03]: @< Open name.
194 0027[05]: Text. Text scrap[Grey]="Five"
195 0027[09]: @> Close name.
196 0027[11]: Text. Text scrap[White]="<010>
197 "
198 0028[01]: End Of File.
199 ============================ End of TOKEN LIST DUMP ============================
200
201
202 ========================== Start of MACRO TABLE DUMP ===========================
203
204
205 ------------------- Start of Macro Dump --------------------
206 Macro Name : "The section name inherits the name of this macro"
207 Macro MinLv : 0
208 Call list :
209
210 Level 0 is defined as follows.
211 Parameters : 0
212 Pos(L,C) : (8,1)
213 Additive? : No.
214 Zero Calls? : No.
215 Many Calls? : No.
216 Output File?: No.
217 Macro body :
218
219 --Start of List of Body Parts--
220 This macro has 1 body part.
221 Body part 1: Seqnum=1, Pos(L,C)=(8,3), Expression follows:
222
223 ---- Start of Expression ----
224
225 ----- Start Text Element -----
226 Text scrap[Grey]="Walrus"
227 ------ End Text Element ------
228
229 ----- End of Expression -----
230
231 ---End of List of Body Parts---
232
233 Level 1 is not defined.
234 Level 2 is not defined.
235 Level 3 is not defined.
236 Level 4 is not defined.
237 Level 5 is not defined.
238 -------------------- End of Macro Dump ---------------------
239
240
241
242 =========================== End of MACRO TABLE DUMP ============================
243
244
245 ========================= Start of DOCUMENT LIST DUMP ==========================
246
247
248 TEXT COMPONENT: Pos(L,C)=(1,1).
249
250 -- Start of Text Scrap List --
251 Text scrap[Grey]="PR03: Test the parsing and semantics of sections.<010>
252 <010>
253 4. Test first section of document is not <special>A.<010>
254 "
255 --- End of Text Scrap List ---
256
257
258 TYPESETTER DIRECTIVE COMPONENT:
259 Section "1.2", Section name="This section is out of order (and so is this test!)".
260
261 TEXT COMPONENT: Pos(L,C)=(4,58).
262
263 -- Start of Text Scrap List --
264 Text scrap[Grey]="<010>
265 <010>
266 1. Test section with no name.<010>
267 "
268 --- End of Text Scrap List ---
269
270
271 TYPESETTER DIRECTIVE COMPONENT:
272 Section "2", Section name="The section name inherits the name of this macro".
273
274 TEXT COMPONENT: Pos(L,C)=(7,3).
275
276 -- Start of Text Scrap List --
277 Text scrap[Grey]=" This section has no name.<010>
278 "
279 --- End of Text Scrap List ---
280
281
282 MACRO DEFINITION COMPONENT: Pos(L,C)=(8,1).
283 Part 1 of level 0 of macro @<The section name inherits the name of this macro@>.
284
285 TEXT COMPONENT: Pos(L,C)=(8,65).
286
287 -- Start of Text Scrap List --
288 Text scrap[Grey]="<010>
289 <010>
290 2. Test section with a name<010>
291 "
292 --- End of Text Scrap List ---
293
294
295 TYPESETTER DIRECTIVE COMPONENT:
296 Section "3", Section name="This section has no name.".
297
298 TEXT COMPONENT: Pos(L,C)=(11,32).
299
300 -- Start of Text Scrap List --
301 Text scrap[Grey]="<010>
302 <010>
303 3. Test the entire hierarchy.<010>
304 "
305 --- End of Text Scrap List ---
306
307
308 TYPESETTER DIRECTIVE COMPONENT:
309 Section "4", Section name="One".
310
311 TEXT COMPONENT: Pos(L,C)=(14,10).
312
313 -- Start of Text Scrap List --
314 Text scrap[White]="<010>
315 "
316 --- End of Text Scrap List ---
317
318
319 TYPESETTER DIRECTIVE COMPONENT:
320 Section "4.1", Section name="Two".
321
322 TEXT COMPONENT: Pos(L,C)=(15,10).
323
324 -- Start of Text Scrap List --
325 Text scrap[White]="<010>
326 "
327 --- End of Text Scrap List ---
328
329
330 TYPESETTER DIRECTIVE COMPONENT:
331 Section "4.1.1", Section name="Three".
332
333 TEXT COMPONENT: Pos(L,C)=(16,12).
334
335 -- Start of Text Scrap List --
336 Text scrap[White]="<010>
337 "
338 --- End of Text Scrap List ---
339
340
341 TYPESETTER DIRECTIVE COMPONENT:
342 Section "4.1.1.1", Section name="Four".
343
344 TEXT COMPONENT: Pos(L,C)=(17,11).
345
346 -- Start of Text Scrap List --
347 Text scrap[White]="<010>
348 "
349 --- End of Text Scrap List ---
350
351
352 TYPESETTER DIRECTIVE COMPONENT:
353 Section "4.1.1.1.1", Section name="Five".
354
355 TEXT COMPONENT: Pos(L,C)=(18,11).
356
357 -- Start of Text Scrap List --
358 Text scrap[Grey]="<010>
359 <010>
360 5. Test detection of discontinuity in levels.<010>
361 "
362 --- End of Text Scrap List ---
363
364
365 TYPESETTER DIRECTIVE COMPONENT:
366 Section "5", Section name="One".
367
368 TEXT COMPONENT: Pos(L,C)=(21,10).
369
370 -- Start of Text Scrap List --
371 Text scrap[White]="<010>
372 "
373 --- End of Text Scrap List ---
374
375
376 TYPESETTER DIRECTIVE COMPONENT:
377 Section "1.1.2", Section name="Three".
378
379 TEXT COMPONENT: Pos(L,C)=(22,12).
380
381 -- Start of Text Scrap List --
382 Text scrap[White]="<010>
383 "
384 --- End of Text Scrap List ---
385
386
387 TYPESETTER DIRECTIVE COMPONENT:
388 Section "1.1.1.1.2", Section name="Five".
389
390 TEXT COMPONENT: Pos(L,C)=(23,11).
391
392 -- Start of Text Scrap List --
393 Text scrap[White]="<010>
394 <010>
395 "
396 --- End of Text Scrap List ---
397
398
399 TYPESETTER DIRECTIVE COMPONENT:
400 Section "2", Section name="One".
401
402 TEXT COMPONENT: Pos(L,C)=(25,10).
403
404 -- Start of Text Scrap List --
405 Text scrap[White]="<010>
406 "
407 --- End of Text Scrap List ---
408
409
410 TYPESETTER DIRECTIVE COMPONENT:
411 Section "2.1", Section name="Three".
412
413 TEXT COMPONENT: Pos(L,C)=(26,12).
414
415 -- Start of Text Scrap List --
416 Text scrap[White]="<010>
417 "
418 --- End of Text Scrap List ---
419
420
421 TYPESETTER DIRECTIVE COMPONENT:
422 Section "1.1.1.2", Section name="Five".
423
424 TEXT COMPONENT: Pos(L,C)=(27,11).
425
426 -- Start of Text Scrap List --
427 Text scrap[White]="<010>
428 "
429 --- End of Text Scrap List ---
430
431
432 ========================== End of DOCUMENT LIST DUMP ===========================
433
434
435 Global Local| Input File
436 ------------+-------------------------------------------------------------------
437 1 1| PR03: Test the parsing and semantics of sections.
438 2 2|
439 3 3| 4. Test first section of document is not <special>A.
440 4 4| @B@<This section is out of order (and so is this test!)@>
441 Error|.^The first section in a document must be an @A section.
442 5 5|
443 6 6| 1. Test section with no name.
444 7 7| @A This section has no name.
445 8 8| @$@<The section name inherits the name of this macro@>@{Walrus@}
446 9 9|
447 10 10| 2. Test section with a name
448 11 11| @A@<This section has no name.@>
449 12 12|
450 13 13| 3. Test the entire hierarchy.
451 14 14| @A@<One@>
452 15 15| @B@<Two@>
453 16 16| @C@<Three@>
454 17 17| @D@<Four@>
455 18 18| @E@<Five@>
456 19 19|
457 20 20| 5. Test detection of discontinuity in levels.
458 21 21| @A@<One@>
459 |.^The next section (at line 22) is too deep.
460 22 22| @C@<Three@>
461 Error|.^This section is more than one level deeper than the last
462 |.^section (at line 21). Example: @B followed by @D is not allowed.
463 |.^The next section (at line 23) is too deep.
464 23 23| @E@<Five@>
465 Error|.^This section is more than one level deeper than the last
466 |.^section (at line 22). Example: @B followed by @D is not allowed.
467 24 24|
468 25 25| @A@<One@>
469 26 26| @B@<Three@>
470 |.^The next section (at line 27) is too deep.
471 27 27| @D@<Five@>
472 Error|.^This section is more than one level deeper than the last
473 |.^section (at line 26). Example: @B followed by @D is not allowed.
474 | <End-Of-File>
475 ------------+-------------------------------------------------------------------
476
477 There were 4 Errors.