Debian Codegraph @

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