============================ End of LINE LIST DUMP =============================
=========================== Start of TOKEN LIST DUMP ===========================
Summary: There are 245 tokens in the token list.
Line[Column]: Token Description
-------------------------------
0001[01]: Text. Text scrap[Grey]="PR08: Test semantic checking of macro definitions.<010>
<010>
Trip parser to be sure that we won't get any output files!<010>
"
0004[01]: @> Close name.
0004[03]: Text. Text scrap[Grey]="<010>
<010>
1. File macro has parameters. Error.<010>
"
0007[01]: @F File defn.
0007[03]: @< Open name.
0007[05]: Text. Text scrap[Grey]="Sloth 1"
0007[12]: @> Close name.
0007[14]: @( Open param.
0007[16]: @n Parameter. Parameterno=3.
0007[18]: @} Close param.
0007[20]: @{ Open defn.
0007[22]: Text. Text scrap[Grey]="Walrus"
0007[28]: @} Close defn.
0007[30]: Text. Text scrap[White]="<010>
"
0008[01]: @A New section (Level 1).
0008[03]: @< Open name.
0008[05]: Text. Text scrap[Grey]="Error recovery point"
0008[25]: @> Close name.
0008[27]: Text. Text scrap[Grey]="<010>
<010>
2. File macro is additive. Error.<010>
"
0011[01]: @F File defn.
0011[03]: @< Open name.
0011[05]: Text. Text scrap[Grey]="Sloth 2"
0011[12]: @> Close name.
0011[14]: Text. Text scrap[Grey]="+="
0011[16]: @{ Open defn.
0011[18]: Text. Text scrap[Grey]="Walrus"
0011[24]: @} Close defn.
0011[26]: Text. Text scrap[White]="<010>
"
0012[01]: @A New section (Level 1).
0012[03]: @< Open name.
0012[05]: Text. Text scrap[Grey]="Error recovery point"
0012[25]: @> Close name.
0012[27]: Text. Text scrap[Grey]="<010>
<010>
3. File macro has too long a name. The test name has 1200 characters. Err.<010>
Note: This test can't test the error message if the maximum length of a<010>
macro name is less than the maximum length of a file name as the name<010>
error is caught first.<010>
"
0019[01]: @F File defn.
0019[03]: @< Open name.
0019[05]: Text. Text scrap[Grey]="123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
0019[1205]: @> Close name.
0019[1207]: @{ Open defn.
0019[1209]: @} Close defn.
0019[1211]: Text. Text scrap[White]="<010>
"
0020[01]: @A New section (Level 1).
0020[03]: @< Open name.
0020[05]: Text. Text scrap[Grey]="Error recovery point"
0020[25]: @> Close name.
0020[27]: Text. Text scrap[Grey]="<010>
<010>
4. File macro has zero or many attributes. Error.<010>
"
0023[01]: @F File defn.
0023[03]: @< Open name.
0023[05]: Text. Text scrap[Grey]="Sloth 3"
0023[12]: @> Close name.
0023[14]: @Z Zero calls.
0023[16]: @{ Open defn.
0023[18]: Text. Text scrap[Grey]="Walrus"
0023[24]: @} Close defn.
0023[26]: 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]: @F File defn.
0026[03]: @< Open name.
0026[05]: Text. Text scrap[Grey]="Sloth 4"
0026[12]: @> Close name.
0026[14]: @M Many calls.
0026[16]: @{ Open defn.
0026[18]: Text. Text scrap[Grey]="Walrus"
0026[24]: @} Close defn.
0026[26]: 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]: @F File defn.
0029[03]: @< Open name.
0029[05]: Text. Text scrap[Grey]="Sloth 5"
0029[12]: @> Close name.
0029[14]: @Z Zero calls.
0029[16]: @M Many calls.
0029[18]: @{ Open defn.
0029[20]: Text. Text scrap[Grey]="Walrus"
0029[26]: @} Close defn.
0029[28]: 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[Grey]="<010>
<010>
5. Previous definition is full, current is additive.<010>
"
0033[01]: @$ Macro defn.
0033[03]: @< Open name.
0033[05]: Text. Text scrap[Grey]="Walrus 1"
0033[13]: @> Close name.
0033[15]: Text. Text scrap[Grey]="=="
0033[17]: @{ Open defn.
0033[19]: Text. Text scrap[Grey]="Sloth"
0033[24]: @} Close defn.
0033[26]: Text. Text scrap[White]="<010>
"
0034[01]: @$ Macro defn.
0034[03]: @< Open name.
0034[05]: Text. Text scrap[Grey]="Walrus 1"
0034[13]: @> Close name.
0034[15]: Text. Text scrap[Grey]="+="
0034[17]: @{ Open defn.
0034[19]: Text. Text scrap[Grey]="Aardvark"
0034[27]: @} Close defn.
0034[29]: Text. Text scrap[White]="<010>
"
0035[01]: @A New section (Level 1).
0035[03]: @< Open name.
0035[05]: Text. Text scrap[Grey]="Error recovery point"
0035[25]: @> Close name.
0035[27]: Text. Text scrap[Grey]="<010>
<010>
6. Previous definition is additive, current is full.<010>
"
0038[01]: @$ Macro defn.
0038[03]: @< Open name.
0038[05]: Text. Text scrap[Grey]="Walrus 2"
0038[13]: @> Close name.
0038[15]: Text. Text scrap[Grey]="+="
0038[17]: @{ Open defn.
0038[19]: Text. Text scrap[Grey]="Sloth"
0038[24]: @} Close defn.
0038[26]: Text. Text scrap[White]="<010>
"
0039[01]: @$ Macro defn.
0039[03]: @< Open name.
0039[05]: Text. Text scrap[Grey]="Walrus 2"
0039[13]: @> Close name.
0039[15]: Text. Text scrap[Grey]="=="
0039[17]: @{ Open defn.
0039[19]: Text. Text scrap[Grey]="Aardvark"
0039[27]: @} Close defn.
0039[29]: Text. Text scrap[White]="<010>
"
0040[01]: @A New section (Level 1).
0040[03]: @< Open name.
0040[05]: Text. Text scrap[Grey]="Error recovery point"
0040[25]: @> Close name.
0040[27]: Text. Text scrap[Grey]="<010>
<010>
7. Non-first body part of partial has parameter.<010>
"
0043[01]: @$ Macro defn.
0043[03]: @< Open name.
0043[05]: Text. Text scrap[Grey]="Unicorn"
0043[12]: @> Close name.
0043[14]: @( Open param.
0043[16]: @n Parameter. Parameterno=3.
0043[18]: @} Close param.
0043[20]: Text. Text scrap[Grey]="+="
0043[22]: @{ Open defn.
0043[24]: Text. Text scrap[Grey]="Turkey"
0043[30]: @} Close defn.
0043[32]: Text. Text scrap[White]="<010>
"
0044[01]: @$ Macro defn.
0044[03]: @< Open name.
0044[05]: Text. Text scrap[Grey]="Unicorn"
0044[12]: @> Close name.
0044[14]: @( Open param.
0044[16]: @n Parameter. Parameterno=3.
0044[18]: @} Close param.
0044[20]: Text. Text scrap[Grey]="+="
0044[22]: @{ Open defn.
0044[24]: Text. Text scrap[Grey]="Turkey"
0044[30]: @} Close defn.
0044[32]: Text. Text scrap[White]="<010>
"
0045[01]: @A New section (Level 1).
0045[03]: @< Open name.
0045[05]: Text. Text scrap[Grey]="Error recovery point"
0045[25]: @> Close name.
0045[27]: Text. Text scrap[Grey]="<010>
<010>
8. Zero or many attributes on non-first body part of additive.<010>
"
0048[01]: @$ Macro defn.
0048[03]: @< Open name.
0048[05]: Text. Text scrap[Grey]="Elephant"
0048[13]: @> Close name.
0048[15]: @Z Zero calls.
0048[17]: @M Many calls.
0048[19]: Text. Text scrap[Grey]="+="
0048[21]: @{ Open defn.
0048[23]: Text. Text scrap[Grey]="Turkey"
0048[29]: @} Close defn.
0048[31]: Text. Text scrap[White]="<010>
"
0049[01]: @$ Macro defn.
0049[03]: @< Open name.
0049[05]: Text. Text scrap[Grey]="Elephant"
0049[13]: @> Close name.
0049[15]: @Z Zero calls.
0049[17]: @M Many calls.
0049[19]: Text. Text scrap[Grey]="+="
0049[21]: @{ Open defn.
0049[23]: Text. Text scrap[Grey]="Turkey"
0049[29]: @} Close defn.
0049[31]: Text. Text scrap[White]="<010>
"
0050[01]: @A New section (Level 1).
0050[03]: @< Open name.
0050[05]: Text. Text scrap[Grey]="Error recovery point"
0050[25]: @> Close name.
0050[27]: Text. Text scrap[Grey]="<010>
<010>
9. Check that non-existent formal parameters are caught.<010>
<010>
"
0054[01]: @$ Macro defn.
0054[03]: @< Open name.
0054[05]: Text. Text scrap[Grey]="Zero"
0054[09]: @> Close name.
0054[11]: @Z Zero calls.
0054[13]: @{ Open defn.
0054[15]: Text. Text scrap[Grey]="Sloth"
0054[20]: @n Parameter. Parameterno=1.
0054[22]: Text. Text scrap[Grey]="Walrus"
0054[28]: @} Close defn.
0054[30]: Text. Text scrap[White]="<010>
"
0055[01]: @A New section (Level 1).
0055[03]: @< Open name.
0055[05]: Text. Text scrap[Grey]="Error recovery point"
0055[25]: @> Close name.
0055[27]: Text. Text scrap[White]="<010>
<010>
"
0057[01]: @$ Macro defn.
0057[03]: @< Open name.
0057[05]: Text. Text scrap[Grey]="One"
0057[08]: @> Close name.
0057[10]: @( Open param.
0057[12]: @n Parameter. Parameterno=1.
0057[14]: @} Close param.
0057[16]: @Z Zero calls.
0057[18]: @{ Open defn.
0057[20]: Text. Text scrap[Grey]="Sloth"
0057[25]: @n Parameter. Parameterno=2.
0057[27]: Text. Text scrap[Grey]="Walrus"
0057[33]: @} Close defn.
0057[35]: Text. Text scrap[White]="<010>
"
0058[01]: @A New section (Level 1).
0058[03]: @< Open name.
0058[05]: Text. Text scrap[Grey]="Error recovery point"
0058[25]: @> Close name.
0058[27]: Text. Text scrap[White]="<010>
<010>
"
0060[01]: @$ Macro defn.
0060[03]: @< Open name.
0060[05]: Text. Text scrap[Grey]="Many"
0060[09]: @> Close name.
0060[11]: @( Open param.
0060[13]: @n Parameter. Parameterno=7.
0060[15]: @} Close param.
0060[17]: @Z Zero calls.
0060[19]: @{ Open defn.
0060[21]: Text. Text scrap[Grey]="Sloth"
0060[26]: @n Parameter. Parameterno=8.
0060[28]: Text. Text scrap[Grey]="Walrus"
0060[34]: @} Close defn.
0060[36]: Text. Text scrap[White]="<010>
"
0061[01]: @A New section (Level 1).
0061[03]: @< Open name.
0061[05]: Text. Text scrap[Grey]="Error recovery point"
0061[25]: @> Close name.
0061[27]: Text. Text scrap[White]="<010>
"
0062[01]: End Of File.
============================ End of TOKEN LIST DUMP ============================
========================== Start of MACRO TABLE DUMP ===========================
------------------- Start of Macro Dump --------------------
Macro Name : "Elephant"
Defined? : Yes.
Parameters : 0
Additive? : Yes.
Zero Calls? : Yes.
Many Calls? : Yes.
Output File?: No.
Call list :
Macro body :
--Start of List of Body Parts--
This macro has 1 body part.
Body part 1: Seqnum=4, Pos(L,C)=(48,3), Expression follows:
---- Start of Expression ----
----- Start Text Element -----
Text scrap[Grey]="Turkey"
------ End Text Element ------
----- End of Expression -----
---End of List of Body Parts---
-------------------- End of Macro Dump ---------------------
------------------- Start of Macro Dump --------------------
Macro Name : "Many"
Defined? : Yes.
Parameters : 7
Additive? : No.
Zero Calls? : Yes.
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=7, Pos(L,C)=(60,3), Expression follows:
---- Start of Expression ----
----- Start Text Element -----
Text scrap[Grey]="Sloth"
------ End Text Element ------
-- Start Parameter Element --
Parameter number=8.
Parameter is of macro "Many".
--- End Parameter Element ---
----- Start Text Element -----
Text scrap[Grey]="Walrus"
------ End Text Element ------
----- End of Expression -----
---End of List of Body Parts---
-------------------- End of Macro Dump ---------------------
------------------- Start of Macro Dump --------------------
Macro Name : "One"
Defined? : Yes.
Parameters : 1
Additive? : No.
Zero Calls? : Yes.
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=6, Pos(L,C)=(57,3), Expression follows:
---- Start of Expression ----
----- Start Text Element -----
Text scrap[Grey]="Sloth"
------ End Text Element ------
-- Start Parameter Element --
Parameter number=2.
Parameter is of macro "One".
--- End Parameter Element ---
----- Start Text Element -----
Text scrap[Grey]="Walrus"
------ End Text Element ------
----- End of Expression -----
---End of List of Body Parts---
-------------------- End of Macro Dump ---------------------
------------------- Start of Macro Dump --------------------
Macro Name : "Sloth 1"
Defined? : No.
-------------------- End of Macro Dump ---------------------
------------------- Start of Macro Dump --------------------
Macro Name : "Sloth 2"
Defined? : No.
-------------------- End of Macro Dump ---------------------
------------------- Start of Macro Dump --------------------
Macro Name : "Sloth 3"
Defined? : No.
-------------------- End of Macro Dump ---------------------
------------------- Start of Macro Dump --------------------
Macro Name : "Sloth 4"
Defined? : No.
-------------------- End of Macro Dump ---------------------
------------------- Start of Macro Dump --------------------
Macro Name : "Sloth 5"
Defined? : No.
-------------------- End of Macro Dump ---------------------
------------------- Start of Macro Dump --------------------
Macro Name : "Unicorn"
Defined? : Yes.
Parameters : 3
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)=(43,3), Expression follows:
---- Start of Expression ----
----- Start Text Element -----
Text scrap[Grey]="Turkey"
------ End Text Element ------
----- End of Expression -----
---End of List of Body Parts---
-------------------- End of Macro Dump ---------------------
------------------- Start of Macro Dump --------------------
Macro Name : "Walrus 1"
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)=(33,3), Expression follows:
---- Start of Expression ----
----- Start Text Element -----
Text scrap[Grey]="Sloth"
------ End Text Element ------
----- End of Expression -----
---End of List of Body Parts---
-------------------- End of Macro Dump ---------------------
------------------- Start of Macro Dump --------------------
Macro Name : "Walrus 2"
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=2, Pos(L,C)=(38,3), Expression follows:
---- Start of Expression ----
----- Start Text Element -----
Text scrap[Grey]="Sloth"
------ End Text Element ------
----- End of Expression -----
---End of List of Body Parts---
-------------------- End of Macro Dump ---------------------
------------------- Start of Macro Dump --------------------
Macro Name : "Zero"
Defined? : Yes.
Parameters : 0
Additive? : No.
Zero Calls? : Yes.
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=5, Pos(L,C)=(54,3), Expression follows:
---- Start of Expression ----
----- Start Text Element -----
Text scrap[Grey]="Sloth"
------ End Text Element ------
-- Start Parameter Element --
Parameter number=1.
Parameter is of macro "Zero".
--- End Parameter Element ---
----- Start Text Element -----
Text scrap[Grey]="Walrus"
------ 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]="PR08: Test semantic checking of macro definitions.<010>
<010>
Trip parser to be sure that we won't get any output files!<010>
"
--- End of Text Scrap List ---
TEXT COMPONENT: Pos(L,C)=(4,3).
-- Start of Text Scrap List --
Text scrap[Grey]="<010>
<010>
1. File macro has parameters. Error.<010>
"
--- End of Text Scrap List ---
TYPESETTER DIRECTIVE COMPONENT:
Section "1", Section name="Error recovery point".
TEXT COMPONENT: Pos(L,C)=(8,27).
-- Start of Text Scrap List --
Text scrap[Grey]="<010>
<010>
2. File macro is additive. Error.<010>
"
--- End of Text Scrap List ---
TYPESETTER DIRECTIVE COMPONENT:
Section "2", Section name="Error recovery point".
TEXT COMPONENT: Pos(L,C)=(12,27).
-- Start of Text Scrap List --
Text scrap[Grey]="<010>
<010>
3. File macro has too long a name. The test name has 1200 characters. Err.<010>
Note: This test can't test the error message if the maximum length of a<010>
macro name is less than the maximum length of a file name as the name<010>
error is caught first.<010>
"
--- End of Text Scrap List ---
TYPESETTER DIRECTIVE COMPONENT:
Section "3", Section name="Error recovery point".
TEXT COMPONENT: Pos(L,C)=(20,27).
-- Start of Text Scrap List --
Text scrap[Grey]="<010>
<010>
4. File macro has zero or many attributes. Error.<010>
"
--- End of Text Scrap List ---
TYPESETTER DIRECTIVE COMPONENT:
Section "4", 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 "5", 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 "6", Section name="Error recovery point".
TEXT COMPONENT: Pos(L,C)=(30,27).
-- Start of Text Scrap List --
Text scrap[Grey]="<010>
<010>
5. Previous definition is full, current is additive.<010>
"
--- End of Text Scrap List ---
MACRO DEFINITION COMPONENT: Pos(L,C)=(33,1).
Part 1 of macro @<Walrus 1@>.
TEXT COMPONENT: Pos(L,C)=(33,26).
-- Start of Text Scrap List --
Text scrap[White]="<010>
"
--- End of Text Scrap List ---
TYPESETTER DIRECTIVE COMPONENT:
Section "7", Section name="Error recovery point".
TEXT COMPONENT: Pos(L,C)=(35,27).
-- Start of Text Scrap List --
Text scrap[Grey]="<010>
<010>
6. Previous definition is additive, current is full.<010>
"
--- End of Text Scrap List ---
MACRO DEFINITION COMPONENT: Pos(L,C)=(38,1).
Part 1 of macro @<Walrus 2@>.
TEXT COMPONENT: Pos(L,C)=(38,26).
-- Start of Text Scrap List --
Text scrap[White]="<010>
"
--- End of Text Scrap List ---
TYPESETTER DIRECTIVE COMPONENT:
Section "8", Section name="Error recovery point".
TEXT COMPONENT: Pos(L,C)=(40,27).
-- Start of Text Scrap List --
Text scrap[Grey]="<010>
<010>
7. Non-first body part of partial has parameter.<010>
"
--- End of Text Scrap List ---
MACRO DEFINITION COMPONENT: Pos(L,C)=(43,1).
Part 1 of macro @<Unicorn@>.
TEXT COMPONENT: Pos(L,C)=(43,32).
-- Start of Text Scrap List --
Text scrap[White]="<010>
"
--- End of Text Scrap List ---
TYPESETTER DIRECTIVE COMPONENT:
Section "9", Section name="Error recovery point".
TEXT COMPONENT: Pos(L,C)=(45,27).
-- Start of Text Scrap List --
Text scrap[Grey]="<010>
<010>
8. Zero or many attributes on non-first body part of additive.<010>