home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GEMini Atari
/
GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso
/
zip
/
program
/
funnel.zoo
/
answers
/
pr07.lis
< prev
next >
Wrap
File List
|
1993-04-11
|
21KB
|
614 lines
FUNNELWEB LISTING FILE
======================
Dump of mapped file "<<Suppressed>>".
MEMORY DUMP OF MAPPED FILE
==========================
+-------------------------------------------------+------------------+
| 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | 0123456789ABCDEF |
+-------------------------------------------------+------------------+
| 50 52 30 37 3A 20 54 65 73 74 20 74 68 65 20 70 | PR07: Test the p |
| 61 72 73 69 6E 67 20 6F 66 20 3D 3D 20 61 6E 64 | arsing of == and |
| 20 2B 3D 20 69 6E 20 6D 61 63 72 6F 20 64 65 66 | += in macro def |
| 69 6E 69 74 69 6F 6E 73 2E 0A 0A 54 72 69 70 20 | initions...Trip |
| 74 68 65 20 70 61 72 73 65 72 20 73 6F 20 77 65 | the parser so we |
| 20 64 6F 6E 27 74 20 67 65 74 20 61 6E 79 20 66 | don't get any f |
| 75 72 74 68 65 72 2E 0A 40 3E 0A 0A 31 2E 20 54 | urther..@>..1. T |
| 65 73 74 20 77 69 74 68 20 6E 6F 20 65 71 75 61 | est with no equa |
| 6C 73 2E 0A 40 24 40 3C 53 6C 6F 74 68 40 3E 40 | ls..@$@<Sloth@>@ |
| 7B 4E 6F 20 65 71 75 61 6C 73 20 69 6E 20 74 68 | {No equals in th |
| 69 73 20 6D 61 63 72 6F 20 64 65 66 69 6E 69 74 | is macro definit |
| 69 6F 6E 2E 40 7D 0A 0A 32 2E 20 54 65 73 74 20 | ion.@}..2. Test |
| 77 69 74 68 20 3D 3D 2E 0A 40 24 40 3C 53 6C 6F | with ==..@$@<Slo |
| 74 68 20 77 69 74 68 20 65 71 75 61 6C 73 40 3E | th with equals@> |
| 3D 3D 40 7B 4E 6F 20 65 71 75 61 6C 73 20 69 6E | ==@{No equals in |
| 20 74 68 69 73 20 6D 61 63 72 6F 20 64 65 66 69 | this macro defi |
| 6E 69 74 69 6F 6E 2E 40 7D 0A 0A 33 2E 20 54 65 | nition.@}..3. Te |
| 73 74 20 77 69 74 68 20 2B 3D 2E 0A 40 24 40 3C | st with +=..@$@< |
| 53 6C 6F 74 68 20 77 69 74 68 20 70 6C 75 73 40 | Sloth with plus@ |
| 3E 2B 3D 40 7B 4E 6F 20 65 71 75 61 6C 73 20 69 | >+=@{No equals i |
| 6E 20 74 68 69 73 20 6D 61 63 72 6F 20 64 65 66 | n this macro def |
| 69 6E 69 74 69 6F 6E 2E 40 7D 0A 0A 34 2E 20 54 | inition.@}..4. T |
| 65 73 74 20 77 69 74 68 20 73 79 6E 74 61 78 20 | est with syntax |
| 65 72 72 6F 72 73 2E 0A 0A 40 24 40 3C 45 72 72 | errors...@$@<Err |
| 6F 72 31 40 3E 2B 2B 40 7B 4E 6F 20 65 71 75 61 | or1@>++@{No equa |
| 6C 73 20 69 6E 20 74 68 69 73 20 6D 61 63 72 6F | ls in this macro |
| 20 64 65 66 69 6E 69 74 69 6F 6E 2E 40 7D 0A 40 | definition.@}.@ |
| 41 40 3C 45 72 72 6F 72 20 72 65 63 6F 76 65 72 | A@<Error recover |
| 79 20 70 6F 69 6E 74 40 3E 0A 0A 40 24 40 3C 45 | y point@>..@$@<E |
| 72 72 6F 72 32 40 3E 40 2B 3D 40 7B 4E 6F 20 65 | rror2@>@+=@{No e |
| 71 75 61 6C 73 20 69 6E 20 74 68 69 73 20 6D 61 | quals in this ma |
| 63 72 6F 20 64 65 66 69 6E 69 74 69 6F 6E 2E 40 | cro definition.@ |
| 7D 0A 40 41 40 3C 45 72 72 6F 72 20 72 65 63 6F | }.@A@<Error reco |
| 76 65 72 79 20 70 6F 69 6E 74 40 3E 0A 0A 40 24 | very point@>..@$ |
| 40 3C 45 72 72 6F 72 33 40 3E 2B 3D 3D 2B 40 7B | @<Error3@>+==+@{ |
| 4E 6F 20 65 71 75 61 6C 73 20 69 6E 20 74 68 69 | No equals in thi |
| 73 20 6D 61 63 72 6F 20 64 65 66 69 6E 69 74 69 | s macro definiti |
| 6F 6E 2E 40 7D 0A 40 41 40 3C 45 72 72 6F 72 20 | on.@}.@A@<Error |
| 72 65 63 6F 76 65 72 79 20 70 6F 69 6E 74 40 3E | recovery point@> |
| 0A 0A 40 24 40 3C 45 72 72 6F 72 34 40 3E 3D 2B | ..@$@<Error4@>=+ |
| 40 7B 4E 6F 20 65 71 75 61 6C 73 20 69 6E 20 74 | @{No equals in t |
| 68 69 73 20 6D 61 63 72 6F 20 64 65 66 69 6E 69 | his macro defini |
| 74 69 6F 6E 2E 40 7D 0A 40 41 40 3C 45 72 72 6F | tion.@}.@A@<Erro |
| 72 20 72 65 63 6F 76 65 72 79 20 70 6F 69 6E 74 | r recovery point |
| 40 3E 0A 0A 40 24 40 3C 45 72 72 6F 72 34 40 3E | @>..@$@<Error4@> |
| 40 3D 40 3D 40 7B 4E 6F 20 65 71 75 61 6C 73 20 | @=@=@{No equals |
| 69 6E 20 74 68 69 73 20 6D 61 63 72 6F 20 64 65 | in this macro de |
| 66 69 6E 69 74 69 6F 6E 2E 40 7D 0A 40 41 40 3C | finition.@}.@A@< |
| 45 72 72 6F 72 20 72 65 63 6F 76 65 72 79 20 70 | Error recovery p |
| 6F 69 6E 74 40 3E 0A 0A 40 24 40 3C 45 72 72 6F | oint@>..@$@<Erro |
| 72 34 40 3E 40 2B 40 3D 40 7B 4E 6F 20 65 71 75 | r4@>@+@=@{No equ |
| 61 6C 73 20 69 6E 20 74 68 69 73 20 6D 61 63 72 | als in this macr |
| 6F 20 64 65 66 69 6E 69 74 69 6F 6E 2E 40 7D 0A | o definition.@}. |
| 40 41 40 3C 45 72 72 6F 72 20 72 65 63 6F 76 65 | @A@<Error recove |
| 72 79 20 70 6F 69 6E 74 40 3E 0A 0A 0A 0A | ry point@>.... |
+-------------------------------------------------+------------------+
=========================== Start of LINE LIST DUMP ============================
Globl Local| Text
-----------+--------------------------------------------------------------------
00001 00001| PR07: Test the parsing of == and += in macro definitions.<010>
00002 00002| <010>
00003 00003| Trip the parser so we don't get any further.<010>
00004 00004| @><010>
00005 00005| <010>
00006 00006| 1. Test with no equals.<010>
00007 00007| @$@<Sloth@>@{No equals in this macro definition.@}<010>
00008 00008| <010>
00009 00009| 2. Test with ==.<010>
00010 00010| @$@<Sloth with equals@>==@{No equals in this macro definition.@}<010>
00011 00011| <010>
00012 00012| 3. Test with +=.<010>
00013 00013| @$@<Sloth with plus@>+=@{No equals in this macro definition.@}<010>
00014 00014| <010>
00015 00015| 4. Test with syntax errors.<010>
00016 00016| <010>
00017 00017| @$@<Error1@>++@{No equals in this macro definition.@}<010>
00018 00018| @A@<Error recovery point@><010>
00019 00019| <010>
00020 00020| @$@<Error2@>@+=@{No equals in this macro definition.@}<010>
00021 00021| @A@<Error recovery point@><010>
00022 00022| <010>
00023 00023| @$@<Error3@>+==+@{No equals in this macro definition.@}<010>
00024 00024| @A@<Error recovery point@><010>
00025 00025| <010>
00026 00026| @$@<Error4@>=+@{No equals in this macro definition.@}<010>
00027 00027| @A@<Error recovery point@><010>
00028 00028| <010>
00029 00029| @$@<Error4@>@=@=@{No equals in this macro definition.@}<010>
00030 00030| @A@<Error recovery point@><010>
00031 00031| <010>
00032 00032| @$@<Error4@>@+@=@{No equals in this macro definition.@}<010>
00033 00033| @A@<Error recovery point@><010>
00034 00034| <010>
00035 00035| <010>
00036 00036| <010>
00037 00037| <End-Of-File><010>
-----------+--------------------------------------------------------------------
Globl Local| Text
============================ End of LINE LIST DUMP =============================
=========================== Start of TOKEN LIST DUMP ===========================
Summary: There are 114 tokens in the token list.
Line[Column]: Token Description
-------------------------------
0001[01]: Text. Text scrap[Grey]="PR07: Test the parsing of == and += in macro definitions.<010>
<010>
Trip the parser so we don't get any further.<010>
"
0004[01]: @> Close name.
0004[03]: Text. Text scrap[Grey]="<010>
<010>
1. Test with no equals.<010>
"
0007[01]: @$ Macro defn.
0007[03]: @< Open name.
0007[05]: Text. Text scrap[Grey]="Sloth"
0007[10]: @> Close name.
0007[12]: @{ Open defn.
0007[14]: Text. Text scrap[Grey]="No equals in this macro definition."
0007[49]: @} Close defn.
0007[51]: Text. Text scrap[Grey]="<010>
<010>
2. Test with ==.<010>
"
0010[01]: @$ Macro defn.
0010[03]: @< Open name.
0010[05]: Text. Text scrap[Grey]="Sloth with equals"
0010[22]: @> Close name.
0010[24]: Text. Text scrap[Grey]="=="
0010[26]: @{ Open defn.
0010[28]: Text. Text scrap[Grey]="No equals in this macro definition."
0010[63]: @} Close defn.
0010[65]: Text. Text scrap[Grey]="<010>
<010>
3. Test with +=.<010>
"
0013[01]: @$ Macro defn.
0013[03]: @< Open name.
0013[05]: Text. Text scrap[Grey]="Sloth with plus"
0013[20]: @> Close name.
0013[22]: Text. Text scrap[Grey]="+="
0013[24]: @{ Open defn.
0013[26]: Text. Text scrap[Grey]="No equals in this macro definition."
0013[61]: @} Close defn.
0013[63]: Text. Text scrap[Grey]="<010>
<010>
4. Test with syntax errors.<010>
<010>
"
0017[01]: @$ Macro defn.
0017[03]: @< Open name.
0017[05]: Text. Text scrap[Grey]="Error1"
0017[11]: @> Close name.
0017[13]: Text. Text scrap[Grey]="++"
0017[15]: @{ Open defn.
0017[17]: Text. Text scrap[Grey]="No equals in this macro definition."
0017[52]: @} Close defn.
0017[54]: Text. Text scrap[White]="<010>
"
0018[01]: @A New section (Level 1).
0018[03]: @< Open name.
0018[05]: Text. Text scrap[Grey]="Error recovery point"
0018[25]: @> Close name.
0018[27]: Text. Text scrap[White]="<010>
<010>
"
0020[01]: @$ Macro defn.
0020[03]: @< Open name.
0020[05]: Text. Text scrap[Grey]="Error2"
0020[11]: @> Close name.
0020[13]: Text. Text scrap[White]="<010>
"
0020[15]: Text. Text scrap[Grey]="="
0020[16]: @{ Open defn.
0020[18]: Text. Text scrap[Grey]="No equals in this macro definition."
0020[53]: @} Close defn.
0020[55]: Text. Text scrap[White]="<010>
"
0021[01]: @A New section (Level 1).
0021[03]: @< Open name.
0021[05]: Text. Text scrap[Grey]="Error recovery point"
0021[25]: @> Close name.
0021[27]: Text. Text scrap[White]="<010>
<010>
"
0023[01]: @$ Macro defn.
0023[03]: @< Open name.
0023[05]: Text. Text scrap[Grey]="Error3"
0023[11]: @> Close name.
0023[13]: Text. Text scrap[Grey]="+==+"
0023[17]: @{ Open defn.
0023[19]: Text. Text scrap[Grey]="No equals in this macro definition."
0023[54]: @} Close defn.
0023[56]: Text. Text scrap[White]="<010>
"
0024[01]: @A New section (Level 1).
0024[03]: @< Open name.
0024[05]: Text. Text scrap[Grey]="Error recovery point"
0024[25]: @> Close name.
0024[27]: Text. Text scrap[White]="<010>
<010>
"
0026[01]: @$ Macro defn.
0026[03]: @< Open name.
0026[05]: Text. Text scrap[Grey]="Error4"
0026[11]: @> Close name.
0026[13]: Text. Text scrap[Grey]="=+"
0026[15]: @{ Open defn.
0026[17]: Text. Text scrap[Grey]="No equals in this macro definition."
0026[52]: @} Close defn.
0026[54]: Text. Text scrap[White]="<010>
"
0027[01]: @A New section (Level 1).
0027[03]: @< Open name.
0027[05]: Text. Text scrap[Grey]="Error recovery point"
0027[25]: @> Close name.
0027[27]: Text. Text scrap[White]="<010>
<010>
"
0029[01]: @$ Macro defn.
0029[03]: @< Open name.
0029[05]: Text. Text scrap[Grey]="Error4"
0029[11]: @> Close name.
0029[16]: Text. Text scrap[Grey]="="
0029[17]: @{ Open defn.
0029[19]: Text. Text scrap[Grey]="No equals in this macro definition."
0029[54]: @} Close defn.
0029[56]: Text. Text scrap[White]="<010>
"
0030[01]: @A New section (Level 1).
0030[03]: @< Open name.
0030[05]: Text. Text scrap[Grey]="Error recovery point"
0030[25]: @> Close name.
0030[27]: Text. Text scrap[White]="<010>
<010>
"
0032[01]: @$ Macro defn.
0032[03]: @< Open name.
0032[05]: Text. Text scrap[Grey]="Error4"
0032[11]: @> Close name.
0032[13]: Text. Text scrap[White]="<010>
"
0032[18]: Text. Text scrap[Grey]="{No equals in this macro definition."
0032[54]: @} Close defn.
0032[56]: Text. Text scrap[White]="<010>
"
0033[01]: @A New section (Level 1).
0033[03]: @< Open name.
0033[05]: Text. Text scrap[Grey]="Error recovery point"
0033[25]: @> Close name.
0033[27]: Text. Text scrap[White]="<010>
<010>
<010>
<010>
"
0037[01]: End Of File.
============================ End of TOKEN LIST DUMP ============================
========================== Start of MACRO TABLE DUMP ===========================
------------------- Start of Macro Dump --------------------
Macro Name : "Error1"
Defined? : No.
-------------------- End of Macro Dump ---------------------
------------------- Start of Macro Dump --------------------
Macro Name : "Error2"
Defined? : No.
-------------------- End of Macro Dump ---------------------
------------------- Start of Macro Dump --------------------
Macro Name : "Error3"
Defined? : No.
-------------------- End of Macro Dump ---------------------
------------------- Start of Macro Dump --------------------
Macro Name : "Error4"
Defined? : No.
-------------------- End of Macro Dump ---------------------
------------------- Start of Macro Dump --------------------
Macro Name : "Sloth"
Defined? : Yes.
Parameters : 0
Additive? : No.
Zero Calls? : No.
Many Calls? : No.
Output File?: No.
Call list :
Macro body :
--Start of List of Body Parts--
This macro has 1 body part.
Body part 1: Seqnum=1, Pos(L,C)=(7,3), Expression follows:
---- Start of Expression ----
----- Start Text Element -----
Text scrap[Grey]="No equals in this macro definition."
------ End Text Element ------
----- End of Expression -----
---End of List of Body Parts---
-------------------- End of Macro Dump ---------------------
------------------- Start of Macro Dump --------------------
Macro Name : "Sloth with equals"
Defined? : Yes.
Parameters : 0
Additive? : No.
Zero Calls? : No.
Many Calls? : No.
Output File?: No.
Call list :
Macro body :
--Start of List of Body Parts--
This macro has 1 body part.
Body part 1: Seqnum=2, Pos(L,C)=(10,3), Expression follows:
---- Start of Expression ----
----- Start Text Element -----
Text scrap[Grey]="No equals in this macro definition."
------ End Text Element ------
----- End of Expression -----
---End of List of Body Parts---
-------------------- End of Macro Dump ---------------------
------------------- Start of Macro Dump --------------------
Macro Name : "Sloth with plus"
Defined? : Yes.
Parameters : 0
Additive? : Yes.
Zero Calls? : No.
Many Calls? : No.
Output File?: No.
Call list :
Macro body :
--Start of List of Body Parts--
This macro has 1 body part.
Body part 1: Seqnum=3, Pos(L,C)=(13,3), Expression follows:
---- Start of Expression ----
----- Start Text Element -----
Text scrap[Grey]="No equals in this macro definition."
------ End Text Element ------
----- End of Expression -----
---End of List of Body Parts---
-------------------- End of Macro Dump ---------------------
=========================== End of MACRO TABLE DUMP ============================
========================= Start of DOCUMENT LIST DUMP ==========================
TEXT COMPONENT: Pos(L,C)=(1,1).
-- Start of Text Scrap List --
Text scrap[Grey]="PR07: Test the parsing of == and += in macro definitions.<010>
<010>
Trip the parser so we don't get any further.<010>
"
--- End of Text Scrap List ---
TEXT COMPONENT: Pos(L,C)=(4,3).
-- Start of Text Scrap List --
Text scrap[Grey]="<010>
<010>
1. Test with no equals.<010>
"
--- End of Text Scrap List ---
MACRO DEFINITION COMPONENT: Pos(L,C)=(7,1).
Part 1 of macro @<Sloth@>.
TEXT COMPONENT: Pos(L,C)=(7,51).
-- Start of Text Scrap List --
Text scrap[Grey]="<010>
<010>
2. Test with ==.<010>
"
--- End of Text Scrap List ---
MACRO DEFINITION COMPONENT: Pos(L,C)=(10,1).
Part 1 of macro @<Sloth with equals@>.
TEXT COMPONENT: Pos(L,C)=(10,65).
-- Start of Text Scrap List --
Text scrap[Grey]="<010>
<010>
3. Test with +=.<010>
"
--- End of Text Scrap List ---
MACRO DEFINITION COMPONENT: Pos(L,C)=(13,1).
Part 1 of macro @<Sloth with plus@>.
TEXT COMPONENT: Pos(L,C)=(13,63).
-- Start of Text Scrap List --
Text scrap[Grey]="<010>
<010>
4. Test with syntax errors.<010>
<010>
"
--- End of Text Scrap List ---
TYPESETTER DIRECTIVE COMPONENT:
Section "1", Section name="Error recovery point".
TEXT COMPONENT: Pos(L,C)=(18,27).
-- Start of Text Scrap List --
Text scrap[White]="<010>
<010>
"
--- End of Text Scrap List ---
TYPESETTER DIRECTIVE COMPONENT:
Section "2", Section name="Error recovery point".
TEXT COMPONENT: Pos(L,C)=(21,27).
-- Start of Text Scrap List --
Text scrap[White]="<010>
<010>
"
--- End of Text Scrap List ---
TYPESETTER DIRECTIVE COMPONENT:
Section "3", Section name="Error recovery point".
TEXT COMPONENT: Pos(L,C)=(24,27).
-- Start of Text Scrap List --
Text scrap[White]="<010>
<010>
"
--- End of Text Scrap List ---
TYPESETTER DIRECTIVE COMPONENT:
Section "4", Section name="Error recovery point".
TEXT COMPONENT: Pos(L,C)=(27,27).
-- Start of Text Scrap List --
Text scrap[White]="<010>
<010>
"
--- End of Text Scrap List ---
TYPESETTER DIRECTIVE COMPONENT:
Section "5", Section name="Error recovery point".
TEXT COMPONENT: Pos(L,C)=(30,27).
-- Start of Text Scrap List --
Text scrap[White]="<010>
<010>
"
--- End of Text Scrap List ---
TYPESETTER DIRECTIVE COMPONENT:
Section "6", Section name="Error recovery point".
TEXT COMPONENT: Pos(L,C)=(33,27).
-- Start of Text Scrap List --
Text scrap[White]="<010>
<010>
<010>
<010>
"
--- End of Text Scrap List ---
========================== End of DOCUMENT LIST DUMP ===========================
Global Local| Input File
------------+-------------------------------------------------------------------
1 1| PR07: Test the parsing of == and += in macro definitions.
2 2|
3 3| Trip the parser so we don't get any further.
4 4| @>
Error|.^The parser was at the top level and was expecting
|.^one of: {Directive, Text, Macro definition, EOF}.
5 5|
6 6| 1. Test with no equals.
7 7| @$@<Sloth@>@{No equals in this macro definition.@}
8 8|
9 9| 2. Test with ==.
10 10| @$@<Sloth with equals@>==@{No equals in this macro definition.@}
11 11|
12 12| 3. Test with +=.
13 13| @$@<Sloth with plus@>+=@{No equals in this macro definition.@}
14 14|
15 15| 4. Test with syntax errors.
16 16|
17 17| @$@<Error1@>++@{No equals in this macro definition.@}
Error|.............^Expecting "==@{" or "+=@{" or just "@{".
|.............^(or @Z or @M if they have not already appeared).
|.............^Note: FunnelWeb is intolerant of spaces at this point.
|...............^Skipping after error to the next major construct...
18 18| @A@<Error recovery point@>
|.^...skipped to here after the error.
19 19|
20 20| @$@<Error2@>@+=@{No equals in this macro definition.@}
Error|.............^Expecting "==@{" or "+=@{" or just "@{".
|.............^(or @Z or @M if they have not already appeared).
|.............^Note: FunnelWeb is intolerant of spaces at this point.
|................^Skipping after error to the next major construct...
21 21| @A@<Error recovery point@>
|.^...skipped to here after the error.
22 22|
23 23| @$@<Error3@>+==+@{No equals in this macro definition.@}
Error|.............^Expecting "==@{" or "+=@{" or just "@{".
|.............^(or @Z or @M if they have not already appeared).
|.............^Note: FunnelWeb is intolerant of spaces at this point.
|.................^Skipping after error to the next major construct...
24 24| @A@<Error recovery point@>
|.^...skipped to here after the error.
25 25|
26 26| @$@<Error4@>=+@{No equals in this macro definition.@}
Error|.............^Expecting "==@{" or "+=@{" or just "@{".
|.............^(or @Z or @M if they have not already appeared).
|.............^Note: FunnelWeb is intolerant of spaces at this point.
|...............^Skipping after error to the next major construct...
27 27| @A@<Error recovery point@>
|.^...skipped to here after the error.
28 28|
29 29| @$@<Error4@>@=@=@{No equals in this macro definition.@}
Error|................^Expecting "==@{" or "+=@{" or just "@{".
|................^(or @Z or @M if they have not already appeared).
|................^Note: FunnelWeb is intolerant of spaces at this point.
|.................^Skipping after error to the next major construct...
30 30| @A@<Error recovery point@>
|.^...skipped to here after the error.
31 31|
32 32| @$@<Error4@>@+@=@{No equals in this macro definition.@}
Error|.............^Expecting "==@{" or "+=@{" or just "@{".
|.............^(or @Z or @M if they have not already appeared).
|.............^Note: FunnelWeb is intolerant of spaces at this point.
|......................................................^Skipping after error to the next major construct...
33 33| @A@<Error recovery point@>
|.^...skipped to here after the error.
34 34|
35 35|
36 36|
| <End-Of-File>
------------+-------------------------------------------------------------------
There were 7 Errors.