home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / APPS / TEKST / FUNNEL_S / ANSWERS / PR09.LIS < prev    next >
File List  |  1992-05-27  |  59KB  |  2,134 lines

  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 39 3A 20 54 65 73 74 20 63 61 6C 6C 73 | PR09: Test calls |
  13. | 20 61 6E 64 20 61 63 74 75 61 6C 20 70 61 72 61 |  and actual para |
  14. | 6D 65 74 65 72 20 6C 69 73 74 73 2E 0A 0A 46 69 | meter lists...Fi |
  15. | 72 73 74 20 74 72 69 70 20 75 70 20 74 68 65 20 | rst trip up the  |
  16. | 70 61 72 73 65 72 20 73 6F 20 77 65 20 64 6F 6E | parser so we don |
  17. | 27 74 20 67 65 74 20 61 6E 79 20 66 75 72 74 68 | 't get any furth |
  18. | 65 72 2E 0A 40 3E 0A 0A 4E 6F 77 20 64 65 66 69 | er..@>..Now defi |
  19. | 6E 65 20 73 6F 6D 65 20 6D 61 63 72 6F 73 20 74 | ne some macros t |
  20. | 6F 20 63 61 6C 6C 2E 20 4E 6F 20 65 72 72 6F 72 | o call. No error |
  21. | 2E 0A 0A 40 24 40 3C 5A 65 72 6F 40 3E 40 7B 40 | ...@$@<Zero@>@{@ |
  22. | 7D 0A 40 24 40 3C 4F 6E 65 40 3E 40 28 40 31 40 | }.@$@<One@>@(@1@ |
  23. | 29 40 7B 40 7D 0A 40 24 40 3C 54 77 6F 40 3E 40 | )@{@}.@$@<Two@>@ |
  24. | 28 40 32 40 29 40 7B 40 7D 0A 40 24 40 3C 54 68 | (@2@)@{@}.@$@<Th |
  25. | 72 65 65 40 3E 40 28 40 33 40 29 40 7B 40 7D 0A | ree@>@(@3@)@{@}. |
  26. | 40 24 40 3C 4E 69 6E 65 40 3E 40 28 40 39 40 29 | @$@<Nine@>@(@9@) |
  27. | 40 7B 40 7D 0A 40 24 40 23 22 40 7B 40 7D 0A 0A | @{@}.@$@#"@{@}.. |
  28. | 54 68 65 20 66 6F 6C 6C 6F 77 69 6E 67 20 74 65 | The following te |
  29. | 73 74 20 63 61 6C 6C 73 20 73 68 6F 75 6C 64 20 | st calls should  |
  30. | 4E 4F 54 20 67 65 6E 65 72 61 74 65 20 61 6E 79 | NOT generate any |
  31. | 20 65 72 72 6F 72 73 2E 0A 0A 40 24 40 3C 4D 61 |  errors...@$@<Ma |
  32. | 63 72 6F 20 63 6F 6E 74 61 69 6E 69 6E 67 20 74 | cro containing t |
  33. | 68 65 20 74 65 73 74 20 6D 61 63 72 6F 20 63 61 | he test macro ca |
  34. | 6C 6C 73 2E 40 3E 3D 3D 40 7B 0A 31 2E 20 54 65 | lls.@>==@{.1. Te |
  35. | 73 74 20 6D 61 63 72 6F 20 63 61 6C 6C 20 77 69 | st macro call wi |
  36. | 74 68 20 6E 6F 20 70 61 72 61 6D 65 74 65 72 20 | th no parameter  |
  37. | 6C 69 73 74 2E 0A 40 3C 5A 65 72 6F 40 3E 0A 0A | list..@<Zero@>.. |
  38. | 32 2E 20 54 65 73 74 20 6D 61 63 72 6F 20 63 61 | 2. Test macro ca |
  39. | 6C 6C 20 77 69 74 68 20 71 75 69 63 6B 20 6E 61 | ll with quick na |
  40. | 6D 65 2E 0A 40 23 22 0A 0A 33 2E 20 54 65 73 74 | me..@#"..3. Test |
  41. | 20 6D 61 63 72 6F 20 63 61 6C 6C 20 77 69 74 68 |  macro call with |
  42. | 20 6F 6E 65 20 70 61 72 61 6D 65 74 65 72 2E 0A |  one parameter.. |
  43. | 40 3C 4F 6E 65 40 3E 40 28 54 6F 75 63 61 6E 40 | @<One@>@(Toucan@ |
  44. | 29 0A 0A 34 2E 20 54 65 73 74 20 6D 61 63 72 6F | )..4. Test macro |
  45. | 20 63 61 6C 6C 20 77 69 74 68 20 6D 61 6E 79 20 |  call with many  |
  46. | 70 61 72 61 6D 65 74 65 72 73 2E 0A 40 3C 54 77 | parameters..@<Tw |
  47. | 6F 40 3E 40 28 54 6F 75 63 61 6E 40 2C 54 65 61 | o@>@(Toucan@,Tea |
  48. | 70 6F 74 40 29 0A 40 3C 54 68 72 65 65 40 3E 40 | pot@).@<Three@>@ |
  49. | 28 54 6F 75 63 61 6E 40 2C 54 65 61 70 6F 74 40 | (Toucan@,Teapot@ |
  50. | 2C 57 61 6C 72 75 73 40 29 0A 40 3C 4E 69 6E 65 | ,Walrus@).@<Nine |
  51. | 40 3E 40 28 54 6F 75 63 61 6E 40 2C 54 65 61 70 | @>@(Toucan@,Teap |
  52. | 6F 74 40 2C 57 61 6C 72 75 73 40 2C 0A 20 20 20 | ot@,Walrus@,.    |
  53. | 20 20 20 20 20 20 20 54 6F 75 63 61 6E 40 2C 54 |        Toucan@,T |
  54. | 65 61 70 6F 74 40 2C 57 61 6C 72 75 73 40 2C 0A | eapot@,Walrus@,. |
  55. | 20 20 20 20 20 20 20 20 20 20 54 6F 75 63 61 6E |           Toucan |
  56. | 40 2C 54 65 61 70 6F 74 40 2C 57 61 6C 72 75 73 | @,Teapot@,Walrus |
  57. | 40 29 0A 0A 35 2E 20 54 65 73 74 20 6D 61 63 72 | @)..5. Test macr |
  58. | 6F 20 63 61 6C 6C 73 20 77 69 74 68 20 64 6F 75 | o calls with dou |
  59. | 62 6C 65 20 71 75 6F 74 65 73 20 6F 6E 20 70 61 | ble quotes on pa |
  60. | 72 61 6D 65 74 65 72 73 2E 0A 40 3C 4F 6E 65 40 | rameters..@<One@ |
  61. | 3E 40 28 20 40 22 54 6F 75 63 61 6E 40 22 40 29 | >@( @"Toucan@"@) |
  62. | 0A 40 3C 54 77 6F 40 3E 40 28 40 22 54 6F 75 63 | .@<Two@>@(@"Touc |
  63. | 61 6E 40 22 20 20 20 40 2C 20 20 20 40 22 54 65 | an@"   @,   @"Te |
  64. | 61 70 6F 74 40 22 40 29 0A 40 3C 54 68 72 65 65 | apot@"@).@<Three |
  65. | 40 3E 40 28 40 22 54 6F 75 63 61 6E 40 22 20 40 | @>@(@"Toucan@" @ |
  66. | 2C 0A 20 20 20 20 20 20 20 20 20 20 20 40 22 54 | ,.           @"T |
  67. | 65 61 70 6F 74 40 22 20 40 2C 0A 20 20 20 20 20 | eapot@" @,.      |
  68. | 20 20 20 20 20 20 40 22 57 61 6C 72 75 73 40 22 |       @"Walrus@" |
  69. | 20 40 29 0A 40 3C 4E 69 6E 65 40 3E 40 28 20 40 |  @).@<Nine@>@( @ |
  70. | 22 54 6F 75 63 61 6E 40 22 20 40 2C 20 40 22 54 | "Toucan@" @, @"T |
  71. | 65 61 70 6F 74 40 22 20 40 2C 20 40 22 57 61 6C | eapot@" @, @"Wal |
  72. | 72 75 73 40 22 20 40 2C 0A 20 20 20 20 20 20 20 | rus@" @,.        |
  73. | 20 20 20 20 40 22 54 6F 75 63 61 6E 40 22 20 40 |     @"Toucan@" @ |
  74. | 2C 20 40 22 54 65 61 70 6F 74 40 22 20 40 2C 20 | , @"Teapot@" @,  |
  75. | 40 22 57 61 6C 72 75 73 40 22 20 40 2C 0A 20 20 | @"Walrus@" @,.   |
  76. | 20 20 20 20 20 20 20 20 20 40 22 54 6F 75 63 61 |          @"Touca |
  77. | 6E 40 22 20 40 2C 20 40 22 54 65 61 70 6F 74 40 | n@" @, @"Teapot@ |
  78. | 22 20 40 2C 20 40 22 57 61 6C 72 75 73 40 22 20 | " @, @"Walrus@"  |
  79. | 40 29 0A 0A 37 2E 20 54 65 73 74 20 6D 61 63 72 | @)..7. Test macr |
  80. | 6F 20 63 61 6C 6C 73 20 77 69 74 68 20 6D 69 78 | o calls with mix |
  81. | 65 64 20 64 6F 75 62 6C 65 20 71 75 6F 74 65 73 | ed double quotes |
  82. | 20 6F 6E 20 70 61 72 61 6D 65 74 65 72 73 2E 0A |  on parameters.. |
  83. | 40 3C 54 77 6F 40 3E 40 28 40 22 54 6F 75 63 61 | @<Two@>@(@"Touca |
  84. | 6E 40 22 20 20 20 40 2C 54 65 61 70 6F 74 40 29 | n@"   @,Teapot@) |
  85. | 0A 40 3C 54 68 72 65 65 40 3E 40 28 40 22 54 6F | .@<Three@>@(@"To |
  86. | 75 63 61 6E 40 22 20 40 2C 0A 20 20 20 20 20 20 | ucan@" @,.       |
  87. | 20 20 20 20 20 40 22 54 65 61 70 6F 74 40 22 20 |      @"Teapot@"  |
  88. | 40 2C 57 61 6C 72 75 73 40 29 0A 40 3C 4E 69 6E | @,Walrus@).@<Nin |
  89. | 65 40 3E 40 28 20 40 22 54 6F 75 63 61 6E 40 22 | e@>@( @"Toucan@" |
  90. | 20 40 2C 20 40 22 54 65 61 70 6F 74 40 22 20 40 |  @, @"Teapot@" @ |
  91. | 2C 20 20 20 57 61 6C 72 75 73 20 20 20 40 2C 0A | ,   Walrus   @,. |
  92. | 20 20 20 20 20 20 20 20 20 20 20 40 22 54 6F 75 |            @"Tou |
  93. | 63 61 6E 40 22 20 40 2C 20 20 20 54 65 61 70 6F | can@" @,   Teapo |
  94. | 74 20 20 20 40 2C 20 40 22 57 61 6C 72 75 73 40 | t   @, @"Walrus@ |
  95. | 22 20 40 2C 0A 20 20 20 20 20 20 20 20 20 20 20 | " @,.            |
  96. | 40 22 54 6F 75 63 61 6E 40 22 20 40 2C 20 40 22 | @"Toucan@" @, @" |
  97. | 54 65 61 70 6F 74 40 22 20 40 2C 20 40 22 57 61 | Teapot@" @, @"Wa |
  98. | 6C 72 75 73 40 22 20 40 29 0A 0A 40 7D 20 40 21 | lrus@" @)..@} @! |
  99. | 20 45 6E 64 20 6F 66 20 6D 61 63 72 6F 20 64 65 |  End of macro de |
  100. | 66 69 6E 69 74 69 6F 6E 20 65 6E 63 6C 6F 73 69 | finition enclosi |
  101. | 6E 67 20 61 6C 6C 20 74 68 65 73 65 20 6C 65 67 | ng all these leg |
  102. | 61 6C 20 74 65 73 74 73 2E 0A 0A 38 2E 20 54 65 | al tests...8. Te |
  103. | 73 74 20 6D 61 63 72 6F 20 63 61 6C 6C 73 20 77 | st macro calls w |
  104. | 69 74 68 20 61 20 76 61 72 69 65 74 79 20 6F 66 | ith a variety of |
  105. | 20 73 79 6E 74 61 78 20 65 72 72 6F 72 73 20 69 |  syntax errors i |
  106. | 6E 20 70 61 72 61 6D 65 74 65 72 20 6C 69 73 74 | n parameter list |
  107. | 2E 0A 40 24 40 3C 45 72 72 6F 72 31 40 3E 40 7B | ..@$@<Error1@>@{ |
  108. | 0A 40 3C 5A 65 72 6F 40 3E 40 28 0A 40 7D 0A 40 | .@<Zero@>@(.@}.@ |
  109. | 41 40 3C 45 72 72 6F 72 20 72 65 63 6F 76 65 72 | A@<Error recover |
  110. | 79 20 70 6F 69 6E 74 40 3E 0A 0A 40 24 40 3C 45 | y point@>..@$@<E |
  111. | 72 72 6F 72 32 40 3E 40 7B 0A 40 3C 5A 65 72 6F | rror2@>@{.@<Zero |
  112. | 40 3E 40 29 0A 40 7D 0A 40 41 40 3C 45 72 72 6F | @>@).@}.@A@<Erro |
  113. | 72 20 72 65 63 6F 76 65 72 79 20 70 6F 69 6E 74 | r recovery point |
  114. | 40 3E 0A 0A 40 24 40 3C 45 72 72 6F 72 33 40 3E | @>..@$@<Error3@> |
  115. | 40 7B 0A 40 3C 4F 6E 65 40 3E 40 28 40 22 54 6F | @{.@<One@>@(@"To |
  116. | 75 63 61 6E 40 29 0A 40 7D 0A 40 41 40 3C 45 72 | ucan@).@}.@A@<Er |
  117. | 72 6F 72 20 72 65 63 6F 76 65 72 79 20 70 6F 69 | ror recovery poi |
  118. | 6E 74 40 3E 0A 0A 40 24 40 3C 45 72 72 6F 72 34 | nt@>..@$@<Error4 |
  119. | 40 3E 40 7B 0A 40 3C 4F 6E 65 40 3E 40 28 40 22 | @>@{.@<One@>@(@" |
  120. | 54 6F 75 63 61 6E 40 22 40 22 53 6C 6F 74 68 40 | Toucan@"@"Sloth@ |
  121. | 22 40 29 0A 40 7D 0A 40 41 40 3C 45 72 72 6F 72 | "@).@}.@A@<Error |
  122. | 20 72 65 63 6F 76 65 72 79 20 70 6F 69 6E 74 40 |  recovery point@ |
  123. | 3E 0A 0A 40 24 40 3C 45 72 72 6F 72 35 40 3E 40 | >..@$@<Error5@>@ |
  124. | 7B 0A 40 3C 54 77 6F 40 3E 40 28 40 22 54 6F 75 | {.@<Two@>@(@"Tou |
  125. | 63 61 6E 40 22 54 65 61 70 6F 74 40 29 0A 40 7D | can@"Teapot@).@} |
  126. | 0A 40 41 40 3C 45 72 72 6F 72 20 72 65 63 6F 76 | .@A@<Error recov |
  127. | 65 72 79 20 70 6F 69 6E 74 40 3E 0A 0A 40 24 40 | ery point@>..@$@ |
  128. | 3C 45 72 72 6F 72 36 40 3E 40 7B 0A 40 3C 54 77 | <Error6@>@{.@<Tw |
  129. | 6F 40 3E 40 28 40 22 54 6F 75 63 61 6E 40 22 54 | o@>@(@"Toucan@"T |
  130. | 65 61 70 6F 74 0A 40 7D 0A 40 41 40 3C 45 72 72 | eapot.@}.@A@<Err |
  131. | 6F 72 20 72 65 63 6F 76 65 72 79 20 70 6F 69 6E | or recovery poin |
  132. | 74 40 3E 0A 0A 40 24 40 3C 45 72 72 6F 72 37 40 | t@>..@$@<Error7@ |
  133. | 3E 40 7B 0A 40 3C 54 77 6F 40 3E 40 28 40 22 54 | >@{.@<Two@>@(@"T |
  134. | 6F 75 63 61 6E 40 22 54 65 61 70 6F 74 0A 40 3C | oucan@"Teapot.@< |
  135. | 54 68 72 65 65 40 3E 40 28 54 6F 75 63 61 6E 40 | Three@>@(Toucan@ |
  136. | 2C 0A 20 20 20 20 20 20 20 20 20 20 20 40 22 54 | ,.           @"T |
  137. | 65 61 70 6F 74 40 2C 57 61 6C 72 75 73 0A 0A 40 | eapot@,Walrus..@ |
  138. | 7D 0A 40 41 40 3C 45 72 72 6F 72 20 72 65 63 6F | }.@A@<Error reco |
  139. | 76 65 72 79 20 70 6F 69 6E 74 40 3E 0A 0A       | very point@>..   |
  140. +-------------------------------------------------+------------------+
  141.  
  142.  
  143. =========================== Start of LINE LIST DUMP ============================
  144.  
  145. Globl Local| Text
  146. -----------+--------------------------------------------------------------------
  147. 00001 00001| PR09: Test calls and actual parameter lists.<010>
  148. 00002 00002| <010>
  149. 00003 00003| First trip up the parser so we don't get any further.<010>
  150. 00004 00004| @><010>
  151. 00005 00005| <010>
  152. 00006 00006| Now define some macros to call. No error.<010>
  153. 00007 00007| <010>
  154. 00008 00008| @$@<Zero@>@{@}<010>
  155. 00009 00009| @$@<One@>@(@1@)@{@}<010>
  156. 00010 00010| @$@<Two@>@(@2@)@{@}<010>
  157. 00011 00011| @$@<Three@>@(@3@)@{@}<010>
  158. 00012 00012| @$@<Nine@>@(@9@)@{@}<010>
  159. 00013 00013| @$@#"@{@}<010>
  160. 00014 00014| <010>
  161. 00015 00015| The following test calls should NOT generate any errors.<010>
  162. 00016 00016| <010>
  163. 00017 00017| @$@<Macro containing the test macro calls.@>==@{<010>
  164. 00018 00018| 1. Test macro call with no parameter list.<010>
  165. 00019 00019| @<Zero@><010>
  166. 00020 00020| <010>
  167. 00021 00021| 2. Test macro call with quick name.<010>
  168. 00022 00022| @#"<010>
  169. 00023 00023| <010>
  170. 00024 00024| 3. Test macro call with one parameter.<010>
  171. 00025 00025| @<One@>@(Toucan@)<010>
  172. 00026 00026| <010>
  173. 00027 00027| 4. Test macro call with many parameters.<010>
  174. 00028 00028| @<Two@>@(Toucan@,Teapot@)<010>
  175. 00029 00029| @<Three@>@(Toucan@,Teapot@,Walrus@)<010>
  176. 00030 00030| @<Nine@>@(Toucan@,Teapot@,Walrus@,<010>
  177. 00031 00031|           Toucan@,Teapot@,Walrus@,<010>
  178. 00032 00032|           Toucan@,Teapot@,Walrus@)<010>
  179. 00033 00033| <010>
  180. 00034 00034| 5. Test macro calls with double quotes on parameters.<010>
  181. 00035 00035| @<One@>@( @"Toucan@"@)<010>
  182. 00036 00036| @<Two@>@(@"Toucan@"   @,   @"Teapot@"@)<010>
  183. 00037 00037| @<Three@>@(@"Toucan@" @,<010>
  184. 00038 00038|            @"Teapot@" @,<010>
  185. 00039 00039|            @"Walrus@" @)<010>
  186. 00040 00040| @<Nine@>@( @"Toucan@" @, @"Teapot@" @, @"Walrus@" @,<010>
  187. 00041 00041|            @"Toucan@" @, @"Teapot@" @, @"Walrus@" @,<010>
  188. 00042 00042|            @"Toucan@" @, @"Teapot@" @, @"Walrus@" @)<010>
  189. 00043 00043| <010>
  190. 00044 00044| 7. Test macro calls with mixed double quotes on parameters.<010>
  191. 00045 00045| @<Two@>@(@"Toucan@"   @,Teapot@)<010>
  192. 00046 00046| @<Three@>@(@"Toucan@" @,<010>
  193. 00047 00047|            @"Teapot@" @,Walrus@)<010>
  194. 00048 00048| @<Nine@>@( @"Toucan@" @, @"Teapot@" @,   Walrus   @,<010>
  195. 00049 00049|            @"Toucan@" @,   Teapot   @, @"Walrus@" @,<010>
  196. 00050 00050|            @"Toucan@" @, @"Teapot@" @, @"Walrus@" @)<010>
  197. 00051 00051| <010>
  198. 00052 00052| @} @! End of macro definition enclosing all these legal tests.<010>
  199. 00053 00053| <010>
  200. 00054 00054| 8. Test macro calls with a variety of syntax errors in parameter list.<010>
  201. 00055 00055| @$@<Error1@>@{<010>
  202. 00056 00056| @<Zero@>@(<010>
  203. 00057 00057| @}<010>
  204. 00058 00058| @A@<Error recovery point@><010>
  205. 00059 00059| <010>
  206. 00060 00060| @$@<Error2@>@{<010>
  207. 00061 00061| @<Zero@>@)<010>
  208. 00062 00062| @}<010>
  209. 00063 00063| @A@<Error recovery point@><010>
  210. 00064 00064| <010>
  211. 00065 00065| @$@<Error3@>@{<010>
  212. 00066 00066| @<One@>@(@"Toucan@)<010>
  213. 00067 00067| @}<010>
  214. 00068 00068| @A@<Error recovery point@><010>
  215. 00069 00069| <010>
  216. 00070 00070| @$@<Error4@>@{<010>
  217. 00071 00071| @<One@>@(@"Toucan@"@"Sloth@"@)<010>
  218. 00072 00072| @}<010>
  219. 00073 00073| @A@<Error recovery point@><010>
  220. 00074 00074| <010>
  221. 00075 00075| @$@<Error5@>@{<010>
  222. 00076 00076| @<Two@>@(@"Toucan@"Teapot@)<010>
  223. 00077 00077| @}<010>
  224. 00078 00078| @A@<Error recovery point@><010>
  225. 00079 00079| <010>
  226. 00080 00080| @$@<Error6@>@{<010>
  227. 00081 00081| @<Two@>@(@"Toucan@"Teapot<010>
  228. 00082 00082| @}<010>
  229. 00083 00083| @A@<Error recovery point@><010>
  230. 00084 00084| <010>
  231. 00085 00085| @$@<Error7@>@{<010>
  232. 00086 00086| @<Two@>@(@"Toucan@"Teapot<010>
  233. 00087 00087| @<Three@>@(Toucan@,<010>
  234. 00088 00088|            @"Teapot@,Walrus<010>
  235. 00089 00089| <010>
  236. 00090 00090| @}<010>
  237. 00091 00091| @A@<Error recovery point@><010>
  238. 00092 00092| <010>
  239. 00093 00093| <End-Of-File><010>
  240. -----------+--------------------------------------------------------------------
  241. Globl Local| Text
  242.  
  243. ============================ End of LINE LIST DUMP =============================
  244.  
  245.  
  246. =========================== Start of TOKEN LIST DUMP ===========================
  247.  
  248. Summary: There are 467 tokens in the token list.
  249.  
  250. Line[Column]: Token Description
  251. -------------------------------
  252.  
  253. 0001[01]: Text. Text scrap[Grey]="PR09: Test calls and actual parameter lists.<010>
  254. <010>
  255. First trip up the parser so we don't get any further.<010>
  256. "
  257. 0004[01]: @> Close name. 
  258. 0004[03]: Text. Text scrap[Grey]="<010>
  259. <010>
  260. Now define some macros to call. No error.<010>
  261. <010>
  262. "
  263. 0008[01]: @$ Macro defn. 
  264. 0008[03]: @< Open name. 
  265. 0008[05]: Text. Text scrap[Grey]="Zero"
  266. 0008[09]: @> Close name. 
  267. 0008[11]: @{ Open defn. 
  268. 0008[13]: @} Close defn. 
  269. 0008[15]: Text. Text scrap[White]="<010>
  270. "
  271. 0009[01]: @$ Macro defn. 
  272. 0009[03]: @< Open name. 
  273. 0009[05]: Text. Text scrap[Grey]="One"
  274. 0009[08]: @> Close name. 
  275. 0009[10]: @( Open param. 
  276. 0009[12]: @n Parameter. Parameterno=1.
  277. 0009[14]: @} Close param. 
  278. 0009[16]: @{ Open defn. 
  279. 0009[18]: @} Close defn. 
  280. 0009[20]: Text. Text scrap[White]="<010>
  281. "
  282. 0010[01]: @$ Macro defn. 
  283. 0010[03]: @< Open name. 
  284. 0010[05]: Text. Text scrap[Grey]="Two"
  285. 0010[08]: @> Close name. 
  286. 0010[10]: @( Open param. 
  287. 0010[12]: @n Parameter. Parameterno=2.
  288. 0010[14]: @} Close param. 
  289. 0010[16]: @{ Open defn. 
  290. 0010[18]: @} Close defn. 
  291. 0010[20]: Text. Text scrap[White]="<010>
  292. "
  293. 0011[01]: @$ Macro defn. 
  294. 0011[03]: @< Open name. 
  295. 0011[05]: Text. Text scrap[Grey]="Three"
  296. 0011[10]: @> Close name. 
  297. 0011[12]: @( Open param. 
  298. 0011[14]: @n Parameter. Parameterno=3.
  299. 0011[16]: @} Close param. 
  300. 0011[18]: @{ Open defn. 
  301. 0011[20]: @} Close defn. 
  302. 0011[22]: Text. Text scrap[White]="<010>
  303. "
  304. 0012[01]: @$ Macro defn. 
  305. 0012[03]: @< Open name. 
  306. 0012[05]: Text. Text scrap[Grey]="Nine"
  307. 0012[09]: @> Close name. 
  308. 0012[11]: @( Open param. 
  309. 0012[13]: @n Parameter. Parameterno=9.
  310. 0012[15]: @} Close param. 
  311. 0012[17]: @{ Open defn. 
  312. 0012[19]: @} Close defn. 
  313. 0012[21]: Text. Text scrap[White]="<010>
  314. "
  315. 0013[01]: @$ Macro defn. 
  316. 0013[03]: @# Name. Character='"'.
  317. 0013[06]: @{ Open defn. 
  318. 0013[08]: @} Close defn. 
  319. 0013[10]: Text. Text scrap[Grey]="<010>
  320. <010>
  321. The following test calls should NOT generate any errors.<010>
  322. <010>
  323. "
  324. 0017[01]: @$ Macro defn. 
  325. 0017[03]: @< Open name. 
  326. 0017[05]: Text. Text scrap[Grey]="Macro containing the test macro calls."
  327. 0017[43]: @> Close name. 
  328. 0017[45]: Text. Text scrap[Grey]="=="
  329. 0017[47]: @{ Open defn. 
  330. 0017[49]: Text. Text scrap[Grey]="<010>
  331. 1. Test macro call with no parameter list.<010>
  332. "
  333. 0019[01]: @< Open name. 
  334. 0019[03]: Text. Text scrap[Grey]="Zero"
  335. 0019[07]: @> Close name. 
  336. 0019[09]: Text. Text scrap[Grey]="<010>
  337. <010>
  338. 2. Test macro call with quick name.<010>
  339. "
  340. 0022[01]: @# Name. Character='"'.
  341. 0022[04]: Text. Text scrap[Grey]="<010>
  342. <010>
  343. 3. Test macro call with one parameter.<010>
  344. "
  345. 0025[01]: @< Open name. 
  346. 0025[03]: Text. Text scrap[Grey]="One"
  347. 0025[06]: @> Close name. 
  348. 0025[08]: @( Open param. 
  349. 0025[10]: Text. Text scrap[Grey]="Toucan"
  350. 0025[16]: @} Close param. 
  351. 0025[18]: Text. Text scrap[Grey]="<010>
  352. <010>
  353. 4. Test macro call with many parameters.<010>
  354. "
  355. 0028[01]: @< Open name. 
  356. 0028[03]: Text. Text scrap[Grey]="Two"
  357. 0028[06]: @> Close name. 
  358. 0028[08]: @( Open param. 
  359. 0028[10]: Text. Text scrap[Grey]="Toucan"
  360. 0028[16]: @, Comma. 
  361. 0028[18]: Text. Text scrap[Grey]="Teapot"
  362. 0028[24]: @} Close param. 
  363. 0028[26]: Text. Text scrap[White]="<010>
  364. "
  365. 0029[01]: @< Open name. 
  366. 0029[03]: Text. Text scrap[Grey]="Three"
  367. 0029[08]: @> Close name. 
  368. 0029[10]: @( Open param. 
  369. 0029[12]: Text. Text scrap[Grey]="Toucan"
  370. 0029[18]: @, Comma. 
  371. 0029[20]: Text. Text scrap[Grey]="Teapot"
  372. 0029[26]: @, Comma. 
  373. 0029[28]: Text. Text scrap[Grey]="Walrus"
  374. 0029[34]: @} Close param. 
  375. 0029[36]: Text. Text scrap[White]="<010>
  376. "
  377. 0030[01]: @< Open name. 
  378. 0030[03]: Text. Text scrap[Grey]="Nine"
  379. 0030[07]: @> Close name. 
  380. 0030[09]: @( Open param. 
  381. 0030[11]: Text. Text scrap[Grey]="Toucan"
  382. 0030[17]: @, Comma. 
  383. 0030[19]: Text. Text scrap[Grey]="Teapot"
  384. 0030[25]: @, Comma. 
  385. 0030[27]: Text. Text scrap[Grey]="Walrus"
  386. 0030[33]: @, Comma. 
  387. 0030[35]: Text. Text scrap[Grey]="<010>
  388.           Toucan"
  389. 0031[17]: @, Comma. 
  390. 0031[19]: Text. Text scrap[Grey]="Teapot"
  391. 0031[25]: @, Comma. 
  392. 0031[27]: Text. Text scrap[Grey]="Walrus"
  393. 0031[33]: @, Comma. 
  394. 0031[35]: Text. Text scrap[Grey]="<010>
  395.           Toucan"
  396. 0032[17]: @, Comma. 
  397. 0032[19]: Text. Text scrap[Grey]="Teapot"
  398. 0032[25]: @, Comma. 
  399. 0032[27]: Text. Text scrap[Grey]="Walrus"
  400. 0032[33]: @} Close param. 
  401. 0032[35]: Text. Text scrap[Grey]="<010>
  402. <010>
  403. 5. Test macro calls with double quotes on parameters.<010>
  404. "
  405. 0035[01]: @< Open name. 
  406. 0035[03]: Text. Text scrap[Grey]="One"
  407. 0035[06]: @> Close name. 
  408. 0035[08]: @( Open param. 
  409. 0035[10]: Text. Text scrap[White]=" "
  410. 0035[11]: @" Quote. 
  411. 0035[13]: Text. Text scrap[Grey]="Toucan"
  412. 0035[19]: @" Quote. 
  413. 0035[21]: @} Close param. 
  414. 0035[23]: Text. Text scrap[White]="<010>
  415. "
  416. 0036[01]: @< Open name. 
  417. 0036[03]: Text. Text scrap[Grey]="Two"
  418. 0036[06]: @> Close name. 
  419. 0036[08]: @( Open param. 
  420. 0036[10]: @" Quote. 
  421. 0036[12]: Text. Text scrap[Grey]="Toucan"
  422. 0036[18]: @" Quote. 
  423. 0036[20]: Text. Text scrap[White]="   "
  424. 0036[23]: @, Comma. 
  425. 0036[25]: Text. Text scrap[White]="   "
  426. 0036[28]: @" Quote. 
  427. 0036[30]: Text. Text scrap[Grey]="Teapot"
  428. 0036[36]: @" Quote. 
  429. 0036[38]: @} Close param. 
  430. 0036[40]: Text. Text scrap[White]="<010>
  431. "
  432. 0037[01]: @< Open name. 
  433. 0037[03]: Text. Text scrap[Grey]="Three"
  434. 0037[08]: @> Close name. 
  435. 0037[10]: @( Open param. 
  436. 0037[12]: @" Quote. 
  437. 0037[14]: Text. Text scrap[Grey]="Toucan"
  438. 0037[20]: @" Quote. 
  439. 0037[22]: Text. Text scrap[White]=" "
  440. 0037[23]: @, Comma. 
  441. 0037[25]: Text. Text scrap[White]="<010>
  442.            "
  443. 0038[12]: @" Quote. 
  444. 0038[14]: Text. Text scrap[Grey]="Teapot"
  445. 0038[20]: @" Quote. 
  446. 0038[22]: Text. Text scrap[White]=" "
  447. 0038[23]: @, Comma. 
  448. 0038[25]: Text. Text scrap[White]="<010>
  449.            "
  450. 0039[12]: @" Quote. 
  451. 0039[14]: Text. Text scrap[Grey]="Walrus"
  452. 0039[20]: @" Quote. 
  453. 0039[22]: Text. Text scrap[White]=" "
  454. 0039[23]: @} Close param. 
  455. 0039[25]: Text. Text scrap[White]="<010>
  456. "
  457. 0040[01]: @< Open name. 
  458. 0040[03]: Text. Text scrap[Grey]="Nine"
  459. 0040[07]: @> Close name. 
  460. 0040[09]: @( Open param. 
  461. 0040[11]: Text. Text scrap[White]=" "
  462. 0040[12]: @" Quote. 
  463. 0040[14]: Text. Text scrap[Grey]="Toucan"
  464. 0040[20]: @" Quote. 
  465. 0040[22]: Text. Text scrap[White]=" "
  466. 0040[23]: @, Comma. 
  467. 0040[25]: Text. Text scrap[White]=" "
  468. 0040[26]: @" Quote. 
  469. 0040[28]: Text. Text scrap[Grey]="Teapot"
  470. 0040[34]: @" Quote. 
  471. 0040[36]: Text. Text scrap[White]=" "
  472. 0040[37]: @, Comma. 
  473. 0040[39]: Text. Text scrap[White]=" "
  474. 0040[40]: @" Quote. 
  475. 0040[42]: Text. Text scrap[Grey]="Walrus"
  476. 0040[48]: @" Quote. 
  477. 0040[50]: Text. Text scrap[White]=" "
  478. 0040[51]: @, Comma. 
  479. 0040[53]: Text. Text scrap[White]="<010>
  480.            "
  481. 0041[12]: @" Quote. 
  482. 0041[14]: Text. Text scrap[Grey]="Toucan"
  483. 0041[20]: @" Quote. 
  484. 0041[22]: Text. Text scrap[White]=" "
  485. 0041[23]: @, Comma. 
  486. 0041[25]: Text. Text scrap[White]=" "
  487. 0041[26]: @" Quote. 
  488. 0041[28]: Text. Text scrap[Grey]="Teapot"
  489. 0041[34]: @" Quote. 
  490. 0041[36]: Text. Text scrap[White]=" "
  491. 0041[37]: @, Comma. 
  492. 0041[39]: Text. Text scrap[White]=" "
  493. 0041[40]: @" Quote. 
  494. 0041[42]: Text. Text scrap[Grey]="Walrus"
  495. 0041[48]: @" Quote. 
  496. 0041[50]: Text. Text scrap[White]=" "
  497. 0041[51]: @, Comma. 
  498. 0041[53]: Text. Text scrap[White]="<010>
  499.            "
  500. 0042[12]: @" Quote. 
  501. 0042[14]: Text. Text scrap[Grey]="Toucan"
  502. 0042[20]: @" Quote. 
  503. 0042[22]: Text. Text scrap[White]=" "
  504. 0042[23]: @, Comma. 
  505. 0042[25]: Text. Text scrap[White]=" "
  506. 0042[26]: @" Quote. 
  507. 0042[28]: Text. Text scrap[Grey]="Teapot"
  508. 0042[34]: @" Quote. 
  509. 0042[36]: Text. Text scrap[White]=" "
  510. 0042[37]: @, Comma. 
  511. 0042[39]: Text. Text scrap[White]=" "
  512. 0042[40]: @" Quote. 
  513. 0042[42]: Text. Text scrap[Grey]="Walrus"
  514. 0042[48]: @" Quote. 
  515. 0042[50]: Text. Text scrap[White]=" "
  516. 0042[51]: @} Close param. 
  517. 0042[53]: Text. Text scrap[Grey]="<010>
  518. <010>
  519. 7. Test macro calls with mixed double quotes on parameters.<010>
  520. "
  521. 0045[01]: @< Open name. 
  522. 0045[03]: Text. Text scrap[Grey]="Two"
  523. 0045[06]: @> Close name. 
  524. 0045[08]: @( Open param. 
  525. 0045[10]: @" Quote. 
  526. 0045[12]: Text. Text scrap[Grey]="Toucan"
  527. 0045[18]: @" Quote. 
  528. 0045[20]: Text. Text scrap[White]="   "
  529. 0045[23]: @, Comma. 
  530. 0045[25]: Text. Text scrap[Grey]="Teapot"
  531. 0045[31]: @} Close param. 
  532. 0045[33]: Text. Text scrap[White]="<010>
  533. "
  534. 0046[01]: @< Open name. 
  535. 0046[03]: Text. Text scrap[Grey]="Three"
  536. 0046[08]: @> Close name. 
  537. 0046[10]: @( Open param. 
  538. 0046[12]: @" Quote. 
  539. 0046[14]: Text. Text scrap[Grey]="Toucan"
  540. 0046[20]: @" Quote. 
  541. 0046[22]: Text. Text scrap[White]=" "
  542. 0046[23]: @, Comma. 
  543. 0046[25]: Text. Text scrap[White]="<010>
  544.            "
  545. 0047[12]: @" Quote. 
  546. 0047[14]: Text. Text scrap[Grey]="Teapot"
  547. 0047[20]: @" Quote. 
  548. 0047[22]: Text. Text scrap[White]=" "
  549. 0047[23]: @, Comma. 
  550. 0047[25]: Text. Text scrap[Grey]="Walrus"
  551. 0047[31]: @} Close param. 
  552. 0047[33]: Text. Text scrap[White]="<010>
  553. "
  554. 0048[01]: @< Open name. 
  555. 0048[03]: Text. Text scrap[Grey]="Nine"
  556. 0048[07]: @> Close name. 
  557. 0048[09]: @( Open param. 
  558. 0048[11]: Text. Text scrap[White]=" "
  559. 0048[12]: @" Quote. 
  560. 0048[14]: Text. Text scrap[Grey]="Toucan"
  561. 0048[20]: @" Quote. 
  562. 0048[22]: Text. Text scrap[White]=" "
  563. 0048[23]: @, Comma. 
  564. 0048[25]: Text. Text scrap[White]=" "
  565. 0048[26]: @" Quote. 
  566. 0048[28]: Text. Text scrap[Grey]="Teapot"
  567. 0048[34]: @" Quote. 
  568. 0048[36]: Text. Text scrap[White]=" "
  569. 0048[37]: @, Comma. 
  570. 0048[39]: Text. Text scrap[Grey]="   Walrus   "
  571. 0048[51]: @, Comma. 
  572. 0048[53]: Text. Text scrap[White]="<010>
  573.            "
  574. 0049[12]: @" Quote. 
  575. 0049[14]: Text. Text scrap[Grey]="Toucan"
  576. 0049[20]: @" Quote. 
  577. 0049[22]: Text. Text scrap[White]=" "
  578. 0049[23]: @, Comma. 
  579. 0049[25]: Text. Text scrap[Grey]="   Teapot   "
  580. 0049[37]: @, Comma. 
  581. 0049[39]: Text. Text scrap[White]=" "
  582. 0049[40]: @" Quote. 
  583. 0049[42]: Text. Text scrap[Grey]="Walrus"
  584. 0049[48]: @" Quote. 
  585. 0049[50]: Text. Text scrap[White]=" "
  586. 0049[51]: @, Comma. 
  587. 0049[53]: Text. Text scrap[White]="<010>
  588.            "
  589. 0050[12]: @" Quote. 
  590. 0050[14]: Text. Text scrap[Grey]="Toucan"
  591. 0050[20]: @" Quote. 
  592. 0050[22]: Text. Text scrap[White]=" "
  593. 0050[23]: @, Comma. 
  594. 0050[25]: Text. Text scrap[White]=" "
  595. 0050[26]: @" Quote. 
  596. 0050[28]: Text. Text scrap[Grey]="Teapot"
  597. 0050[34]: @" Quote. 
  598. 0050[36]: Text. Text scrap[White]=" "
  599. 0050[37]: @, Comma. 
  600. 0050[39]: Text. Text scrap[White]=" "
  601. 0050[40]: @" Quote. 
  602. 0050[42]: Text. Text scrap[Grey]="Walrus"
  603. 0050[48]: @" Quote. 
  604. 0050[50]: Text. Text scrap[White]=" "
  605. 0050[51]: @} Close param. 
  606. 0050[53]: Text. Text scrap[White]="<010>
  607. <010>
  608. "
  609. 0052[01]: @} Close defn. 
  610. 0052[03]: Text. Text scrap[White]=" "
  611. 0053[01]: Text. Text scrap[Grey]="<010>
  612. 8. Test macro calls with a variety of syntax errors in parameter list.<010>
  613. "
  614. 0055[01]: @$ Macro defn. 
  615. 0055[03]: @< Open name. 
  616. 0055[05]: Text. Text scrap[Grey]="Error1"
  617. 0055[11]: @> Close name. 
  618. 0055[13]: @{ Open defn. 
  619. 0055[15]: Text. Text scrap[White]="<010>
  620. "
  621. 0056[01]: @< Open name. 
  622. 0056[03]: Text. Text scrap[Grey]="Zero"
  623. 0056[07]: @> Close name. 
  624. 0056[09]: @( Open param. 
  625. 0056[11]: Text. Text scrap[White]="<010>
  626. "
  627. 0057[01]: @} Close defn. 
  628. 0057[03]: Text. Text scrap[White]="<010>
  629. "
  630. 0058[01]: @A New section (Level 1). 
  631. 0058[03]: @< Open name. 
  632. 0058[05]: Text. Text scrap[Grey]="Error recovery point"
  633. 0058[25]: @> Close name. 
  634. 0058[27]: Text. Text scrap[White]="<010>
  635. <010>
  636. "
  637. 0060[01]: @$ Macro defn. 
  638. 0060[03]: @< Open name. 
  639. 0060[05]: Text. Text scrap[Grey]="Error2"
  640. 0060[11]: @> Close name. 
  641. 0060[13]: @{ Open defn. 
  642. 0060[15]: Text. Text scrap[White]="<010>
  643. "
  644. 0061[01]: @< Open name. 
  645. 0061[03]: Text. Text scrap[Grey]="Zero"
  646. 0061[07]: @> Close name. 
  647. 0061[09]: @} Close param. 
  648. 0061[11]: Text. Text scrap[White]="<010>
  649. "
  650. 0062[01]: @} Close defn. 
  651. 0062[03]: Text. Text scrap[White]="<010>
  652. "
  653. 0063[01]: @A New section (Level 1). 
  654. 0063[03]: @< Open name. 
  655. 0063[05]: Text. Text scrap[Grey]="Error recovery point"
  656. 0063[25]: @> Close name. 
  657. 0063[27]: Text. Text scrap[White]="<010>
  658. <010>
  659. "
  660. 0065[01]: @$ Macro defn. 
  661. 0065[03]: @< Open name. 
  662. 0065[05]: Text. Text scrap[Grey]="Error3"
  663. 0065[11]: @> Close name. 
  664. 0065[13]: @{ Open defn. 
  665. 0065[15]: Text. Text scrap[White]="<010>
  666. "
  667. 0066[01]: @< Open name. 
  668. 0066[03]: Text. Text scrap[Grey]="One"
  669. 0066[06]: @> Close name. 
  670. 0066[08]: @( Open param. 
  671. 0066[10]: @" Quote. 
  672. 0066[12]: Text. Text scrap[Grey]="Toucan"
  673. 0066[18]: @} Close param. 
  674. 0066[20]: Text. Text scrap[White]="<010>
  675. "
  676. 0067[01]: @} Close defn. 
  677. 0067[03]: Text. Text scrap[White]="<010>
  678. "
  679. 0068[01]: @A New section (Level 1). 
  680. 0068[03]: @< Open name. 
  681. 0068[05]: Text. Text scrap[Grey]="Error recovery point"
  682. 0068[25]: @> Close name. 
  683. 0068[27]: Text. Text scrap[White]="<010>
  684. <010>
  685. "
  686. 0070[01]: @$ Macro defn. 
  687. 0070[03]: @< Open name. 
  688. 0070[05]: Text. Text scrap[Grey]="Error4"
  689. 0070[11]: @> Close name. 
  690. 0070[13]: @{ Open defn. 
  691. 0070[15]: Text. Text scrap[White]="<010>
  692. "
  693. 0071[01]: @< Open name. 
  694. 0071[03]: Text. Text scrap[Grey]="One"
  695. 0071[06]: @> Close name. 
  696. 0071[08]: @( Open param. 
  697. 0071[10]: @" Quote. 
  698. 0071[12]: Text. Text scrap[Grey]="Toucan"
  699. 0071[18]: @" Quote. 
  700. 0071[20]: @" Quote. 
  701. 0071[22]: Text. Text scrap[Grey]="Sloth"
  702. 0071[27]: @" Quote. 
  703. 0071[29]: @} Close param. 
  704. 0071[31]: Text. Text scrap[White]="<010>
  705. "
  706. 0072[01]: @} Close defn. 
  707. 0072[03]: Text. Text scrap[White]="<010>
  708. "
  709. 0073[01]: @A New section (Level 1). 
  710. 0073[03]: @< Open name. 
  711. 0073[05]: Text. Text scrap[Grey]="Error recovery point"
  712. 0073[25]: @> Close name. 
  713. 0073[27]: Text. Text scrap[White]="<010>
  714. <010>
  715. "
  716. 0075[01]: @$ Macro defn. 
  717. 0075[03]: @< Open name. 
  718. 0075[05]: Text. Text scrap[Grey]="Error5"
  719. 0075[11]: @> Close name. 
  720. 0075[13]: @{ Open defn. 
  721. 0075[15]: Text. Text scrap[White]="<010>
  722. "
  723. 0076[01]: @< Open name. 
  724. 0076[03]: Text. Text scrap[Grey]="Two"
  725. 0076[06]: @> Close name. 
  726. 0076[08]: @( Open param. 
  727. 0076[10]: @" Quote. 
  728. 0076[12]: Text. Text scrap[Grey]="Toucan"
  729. 0076[18]: @" Quote. 
  730. 0076[20]: Text. Text scrap[Grey]="Teapot"
  731. 0076[26]: @} Close param. 
  732. 0076[28]: Text. Text scrap[White]="<010>
  733. "
  734. 0077[01]: @} Close defn. 
  735. 0077[03]: Text. Text scrap[White]="<010>
  736. "
  737. 0078[01]: @A New section (Level 1). 
  738. 0078[03]: @< Open name. 
  739. 0078[05]: Text. Text scrap[Grey]="Error recovery point"
  740. 0078[25]: @> Close name. 
  741. 0078[27]: Text. Text scrap[White]="<010>
  742. <010>
  743. "
  744. 0080[01]: @$ Macro defn. 
  745. 0080[03]: @< Open name. 
  746. 0080[05]: Text. Text scrap[Grey]="Error6"
  747. 0080[11]: @> Close name. 
  748. 0080[13]: @{ Open defn. 
  749. 0080[15]: Text. Text scrap[White]="<010>
  750. "
  751. 0081[01]: @< Open name. 
  752. 0081[03]: Text. Text scrap[Grey]="Two"
  753. 0081[06]: @> Close name. 
  754. 0081[08]: @( Open param. 
  755. 0081[10]: @" Quote. 
  756. 0081[12]: Text. Text scrap[Grey]="Toucan"
  757. 0081[18]: @" Quote. 
  758. 0081[20]: Text. Text scrap[Grey]="Teapot<010>
  759. "
  760. 0082[01]: @} Close defn. 
  761. 0082[03]: Text. Text scrap[White]="<010>
  762. "
  763. 0083[01]: @A New section (Level 1). 
  764. 0083[03]: @< Open name. 
  765. 0083[05]: Text. Text scrap[Grey]="Error recovery point"
  766. 0083[25]: @> Close name. 
  767. 0083[27]: Text. Text scrap[White]="<010>
  768. <010>
  769. "
  770. 0085[01]: @$ Macro defn. 
  771. 0085[03]: @< Open name. 
  772. 0085[05]: Text. Text scrap[Grey]="Error7"
  773. 0085[11]: @> Close name. 
  774. 0085[13]: @{ Open defn. 
  775. 0085[15]: Text. Text scrap[White]="<010>
  776. "
  777. 0086[01]: @< Open name. 
  778. 0086[03]: Text. Text scrap[Grey]="Two"
  779. 0086[06]: @> Close name. 
  780. 0086[08]: @( Open param. 
  781. 0086[10]: @" Quote. 
  782. 0086[12]: Text. Text scrap[Grey]="Toucan"
  783. 0086[18]: @" Quote. 
  784. 0086[20]: Text. Text scrap[Grey]="Teapot<010>
  785. "
  786. 0087[01]: @< Open name. 
  787. 0087[03]: Text. Text scrap[Grey]="Three"
  788. 0087[08]: @> Close name. 
  789. 0087[10]: @( Open param. 
  790. 0087[12]: Text. Text scrap[Grey]="Toucan"
  791. 0087[18]: @, Comma. 
  792. 0087[20]: Text. Text scrap[White]="<010>
  793.            "
  794. 0088[12]: @" Quote. 
  795. 0088[14]: Text. Text scrap[Grey]="Teapot"
  796. 0088[20]: @, Comma. 
  797. 0088[22]: Text. Text scrap[Grey]="Walrus<010>
  798. <010>
  799. "
  800. 0090[01]: @} Close defn. 
  801. 0090[03]: Text. Text scrap[White]="<010>
  802. "
  803. 0091[01]: @A New section (Level 1). 
  804. 0091[03]: @< Open name. 
  805. 0091[05]: Text. Text scrap[Grey]="Error recovery point"
  806. 0091[25]: @> Close name. 
  807. 0091[27]: Text. Text scrap[White]="<010>
  808. <010>
  809. "
  810. 0093[01]: End Of File. 
  811. ============================ End of TOKEN LIST DUMP ============================
  812.  
  813.  
  814. ========================== Start of MACRO TABLE DUMP ===========================
  815.  
  816.  
  817. ------------------- Start of Macro Dump --------------------
  818. Macro Name  : """
  819. Defined?    : Yes.
  820. Parameters  : 0
  821. Additive?   : No.
  822. Zero Calls? : No.
  823. Many Calls? : No.
  824. Output File?: No.
  825. Call list   :
  826.    Call 1: Parameters=0, Sequence num=7, Position(L,C)=(22,1).
  827. Macro body  :
  828.  
  829. --Start of List of Body Parts--
  830. This macro has 1 body part.
  831. Body part 1: Seqnum=6, Pos(L,C)=(13,3), Expression follows:
  832.  
  833. ---- Start of Expression ----
  834. ----- End of Expression -----
  835.  
  836. ---End of List of Body Parts---
  837.  
  838. -------------------- End of Macro Dump ---------------------
  839.  
  840.  
  841.  
  842. ------------------- Start of Macro Dump --------------------
  843. Macro Name  : "Error1"
  844. Defined?    : Yes.
  845. Parameters  : 0
  846. Additive?   : No.
  847. Zero Calls? : No.
  848. Many Calls? : No.
  849. Output File?: No.
  850. Call list   :
  851. Macro body  :
  852.  
  853. --Start of List of Body Parts--
  854. This macro has 0 body parts.
  855. ---End of List of Body Parts---
  856.  
  857. -------------------- End of Macro Dump ---------------------
  858.  
  859.  
  860.  
  861. ------------------- Start of Macro Dump --------------------
  862. Macro Name  : "Error2"
  863. Defined?    : Yes.
  864. Parameters  : 0
  865. Additive?   : No.
  866. Zero Calls? : No.
  867. Many Calls? : No.
  868. Output File?: No.
  869. Call list   :
  870. Macro body  :
  871.  
  872. --Start of List of Body Parts--
  873. This macro has 0 body parts.
  874. ---End of List of Body Parts---
  875.  
  876. -------------------- End of Macro Dump ---------------------
  877.  
  878.  
  879.  
  880. ------------------- Start of Macro Dump --------------------
  881. Macro Name  : "Error3"
  882. Defined?    : Yes.
  883. Parameters  : 0
  884. Additive?   : No.
  885. Zero Calls? : No.
  886. Many Calls? : No.
  887. Output File?: No.
  888. Call list   :
  889. Macro body  :
  890.  
  891. --Start of List of Body Parts--
  892. This macro has 0 body parts.
  893. ---End of List of Body Parts---
  894.  
  895. -------------------- End of Macro Dump ---------------------
  896.  
  897.  
  898.  
  899. ------------------- Start of Macro Dump --------------------
  900. Macro Name  : "Error4"
  901. Defined?    : Yes.
  902. Parameters  : 0
  903. Additive?   : No.
  904. Zero Calls? : No.
  905. Many Calls? : No.
  906. Output File?: No.
  907. Call list   :
  908. Macro body  :
  909.  
  910. --Start of List of Body Parts--
  911. This macro has 0 body parts.
  912. ---End of List of Body Parts---
  913.  
  914. -------------------- End of Macro Dump ---------------------
  915.  
  916.  
  917.  
  918. ------------------- Start of Macro Dump --------------------
  919. Macro Name  : "Error5"
  920. Defined?    : Yes.
  921. Parameters  : 0
  922. Additive?   : No.
  923. Zero Calls? : No.
  924. Many Calls? : No.
  925. Output File?: No.
  926. Call list   :
  927. Macro body  :
  928.  
  929. --Start of List of Body Parts--
  930. This macro has 1 body part.
  931. Body part 1: Seqnum=8, Pos(L,C)=(75,3), Expression follows:
  932.  
  933. ---- Start of Expression ----
  934.  
  935. ----- Start Text Element -----
  936. Text scrap[White]="<010>
  937. "
  938. ------ End Text Element ------
  939.  
  940.  
  941. -- Begin Invocation Element --
  942. Invocation of macro @<Two@>
  943. This invocation has 1 actual parameters.
  944. Actual parameter list follows as a sequence of expressions:
  945. (Text crud before and after parameter has been omitted).
  946. Expression for parameter number 1:
  947.  
  948. ---- Start of Expression ----
  949.  
  950. ----- Start Text Element -----
  951. Text scrap[Grey]="Toucan"
  952. ------ End Text Element ------
  953.  
  954. ----- End of Expression -----
  955.  
  956. --- End Invocation Element ---
  957.  
  958.  
  959. ----- Start Text Element -----
  960. Text scrap[White]="<010>
  961. "
  962. ------ End Text Element ------
  963.  
  964. ----- End of Expression -----
  965.  
  966. ---End of List of Body Parts---
  967.  
  968. -------------------- End of Macro Dump ---------------------
  969.  
  970.  
  971.  
  972. ------------------- Start of Macro Dump --------------------
  973. Macro Name  : "Error6"
  974. Defined?    : Yes.
  975. Parameters  : 0
  976. Additive?   : No.
  977. Zero Calls? : No.
  978. Many Calls? : No.
  979. Output File?: No.
  980. Call list   :
  981. Macro body  :
  982.  
  983. --Start of List of Body Parts--
  984. This macro has 0 body parts.
  985. ---End of List of Body Parts---
  986.  
  987. -------------------- End of Macro Dump ---------------------
  988.  
  989.  
  990.  
  991. ------------------- Start of Macro Dump --------------------
  992. Macro Name  : "Error7"
  993. Defined?    : Yes.
  994. Parameters  : 0
  995. Additive?   : No.
  996. Zero Calls? : No.
  997. Many Calls? : No.
  998. Output File?: No.
  999. Call list   :
  1000. Macro body  :
  1001.  
  1002. --Start of List of Body Parts--
  1003. This macro has 0 body parts.
  1004. ---End of List of Body Parts---
  1005.  
  1006. -------------------- End of Macro Dump ---------------------
  1007.  
  1008.  
  1009.  
  1010. ------------------- Start of Macro Dump --------------------
  1011. Macro Name  : "Macro containing the test macro calls."
  1012. Defined?    : Yes.
  1013. Parameters  : 0
  1014. Additive?   : No.
  1015. Zero Calls? : No.
  1016. Many Calls? : No.
  1017. Output File?: No.
  1018. Call list   :
  1019. Macro body  :
  1020.  
  1021. --Start of List of Body Parts--
  1022. This macro has 1 body part.
  1023. Body part 1: Seqnum=7, Pos(L,C)=(17,3), Expression follows:
  1024.  
  1025. ---- Start of Expression ----
  1026.  
  1027. ----- Start Text Element -----
  1028. Text scrap[Grey]="<010>
  1029. 1. Test macro call with no parameter list.<010>
  1030. "
  1031. ------ End Text Element ------
  1032.  
  1033.  
  1034. -- Begin Invocation Element --
  1035. Invocation of macro @<Zero@>
  1036. No actual parameters.
  1037. --- End Invocation Element ---
  1038.  
  1039.  
  1040. ----- Start Text Element -----
  1041. Text scrap[Grey]="<010>
  1042. <010>
  1043. 2. Test macro call with quick name.<010>
  1044. "
  1045. ------ End Text Element ------
  1046.  
  1047.  
  1048. -- Begin Invocation Element --
  1049. Invocation of macro @<"@>
  1050. No actual parameters.
  1051. --- End Invocation Element ---
  1052.  
  1053.  
  1054. ----- Start Text Element -----
  1055. Text scrap[Grey]="<010>
  1056. <010>
  1057. 3. Test macro call with one parameter.<010>
  1058. "
  1059. ------ End Text Element ------
  1060.  
  1061.  
  1062. -- Begin Invocation Element --
  1063. Invocation of macro @<One@>
  1064. This invocation has 1 actual parameters.
  1065. Actual parameter list follows as a sequence of expressions:
  1066. (Text crud before and after parameter has been omitted).
  1067. Expression for parameter number 1:
  1068.  
  1069. ---- Start of Expression ----
  1070.  
  1071. ----- Start Text Element -----
  1072. Text scrap[Grey]="Toucan"
  1073. ------ End Text Element ------
  1074.  
  1075. ----- End of Expression -----
  1076.  
  1077. --- End Invocation Element ---
  1078.  
  1079.  
  1080. ----- Start Text Element -----
  1081. Text scrap[Grey]="<010>
  1082. <010>
  1083. 4. Test macro call with many parameters.<010>
  1084. "
  1085. ------ End Text Element ------
  1086.  
  1087.  
  1088. -- Begin Invocation Element --
  1089. Invocation of macro @<Two@>
  1090. This invocation has 2 actual parameters.
  1091. Actual parameter list follows as a sequence of expressions:
  1092. (Text crud before and after parameter has been omitted).
  1093. Expression for parameter number 1:
  1094.  
  1095. ---- Start of Expression ----
  1096.  
  1097. ----- Start Text Element -----
  1098. Text scrap[Grey]="Toucan"
  1099. ------ End Text Element ------
  1100.  
  1101. ----- End of Expression -----
  1102.  
  1103. Expression for parameter number 2:
  1104.  
  1105. ---- Start of Expression ----
  1106.  
  1107. ----- Start Text Element -----
  1108. Text scrap[Grey]="Teapot"
  1109. ------ End Text Element ------
  1110.  
  1111. ----- End of Expression -----
  1112.  
  1113. --- End Invocation Element ---
  1114.  
  1115.  
  1116. ----- Start Text Element -----
  1117. Text scrap[White]="<010>
  1118. "
  1119. ------ End Text Element ------
  1120.  
  1121.  
  1122. -- Begin Invocation Element --
  1123. Invocation of macro @<Three@>
  1124. This invocation has 3 actual parameters.
  1125. Actual parameter list follows as a sequence of expressions:
  1126. (Text crud before and after parameter has been omitted).
  1127. Expression for parameter number 1:
  1128.  
  1129. ---- Start of Expression ----
  1130.  
  1131. ----- Start Text Element -----
  1132. Text scrap[Grey]="Toucan"
  1133. ------ End Text Element ------
  1134.  
  1135. ----- End of Expression -----
  1136.  
  1137. Expression for parameter number 2:
  1138.  
  1139. ---- Start of Expression ----
  1140.  
  1141. ----- Start Text Element -----
  1142. Text scrap[Grey]="Teapot"
  1143. ------ End Text Element ------
  1144.  
  1145. ----- End of Expression -----
  1146.  
  1147. Expression for parameter number 3:
  1148.  
  1149. ---- Start of Expression ----
  1150.  
  1151. ----- Start Text Element -----
  1152. Text scrap[Grey]="Walrus"
  1153. ------ End Text Element ------
  1154.  
  1155. ----- End of Expression -----
  1156.  
  1157. --- End Invocation Element ---
  1158.  
  1159.  
  1160. ----- Start Text Element -----
  1161. Text scrap[White]="<010>
  1162. "
  1163. ------ End Text Element ------
  1164.  
  1165.  
  1166. -- Begin Invocation Element --
  1167. Invocation of macro @<Nine@>
  1168. This invocation has 9 actual parameters.
  1169. Actual parameter list follows as a sequence of expressions:
  1170. (Text crud before and after parameter has been omitted).
  1171. Expression for parameter number 1:
  1172.  
  1173. ---- Start of Expression ----
  1174.  
  1175. ----- Start Text Element -----
  1176. Text scrap[Grey]="Toucan"
  1177. ------ End Text Element ------
  1178.  
  1179. ----- End of Expression -----
  1180.  
  1181. Expression for parameter number 2:
  1182.  
  1183. ---- Start of Expression ----
  1184.  
  1185. ----- Start Text Element -----
  1186. Text scrap[Grey]="Teapot"
  1187. ------ End Text Element ------
  1188.  
  1189. ----- End of Expression -----
  1190.  
  1191. Expression for parameter number 3:
  1192.  
  1193. ---- Start of Expression ----
  1194.  
  1195. ----- Start Text Element -----
  1196. Text scrap[Grey]="Walrus"
  1197. ------ End Text Element ------
  1198.  
  1199. ----- End of Expression -----
  1200.  
  1201. Expression for parameter number 4:
  1202.  
  1203. ---- Start of Expression ----
  1204.  
  1205. ----- Start Text Element -----
  1206. Text scrap[Grey]="<010>
  1207.           Toucan"
  1208. ------ End Text Element ------
  1209.  
  1210. ----- End of Expression -----
  1211.  
  1212. Expression for parameter number 5:
  1213.  
  1214. ---- Start of Expression ----
  1215.  
  1216. ----- Start Text Element -----
  1217. Text scrap[Grey]="Teapot"
  1218. ------ End Text Element ------
  1219.  
  1220. ----- End of Expression -----
  1221.  
  1222. Expression for parameter number 6:
  1223.  
  1224. ---- Start of Expression ----
  1225.  
  1226. ----- Start Text Element -----
  1227. Text scrap[Grey]="Walrus"
  1228. ------ End Text Element ------
  1229.  
  1230. ----- End of Expression -----
  1231.  
  1232. Expression for parameter number 7:
  1233.  
  1234. ---- Start of Expression ----
  1235.  
  1236. ----- Start Text Element -----
  1237. Text scrap[Grey]="<010>
  1238.           Toucan"
  1239. ------ End Text Element ------
  1240.  
  1241. ----- End of Expression -----
  1242.  
  1243. Expression for parameter number 8:
  1244.  
  1245. ---- Start of Expression ----
  1246.  
  1247. ----- Start Text Element -----
  1248. Text scrap[Grey]="Teapot"
  1249. ------ End Text Element ------
  1250.  
  1251. ----- End of Expression -----
  1252.  
  1253. Expression for parameter number 9:
  1254.  
  1255. ---- Start of Expression ----
  1256.  
  1257. ----- Start Text Element -----
  1258. Text scrap[Grey]="Walrus"
  1259. ------ End Text Element ------
  1260.  
  1261. ----- End of Expression -----
  1262.  
  1263. --- End Invocation Element ---
  1264.  
  1265.  
  1266. ----- Start Text Element -----
  1267. Text scrap[Grey]="<010>
  1268. <010>
  1269. 5. Test macro calls with double quotes on parameters.<010>
  1270. "
  1271. ------ End Text Element ------
  1272.  
  1273.  
  1274. -- Begin Invocation Element --
  1275. Invocation of macro @<One@>
  1276. This invocation has 1 actual parameters.
  1277. Actual parameter list follows as a sequence of expressions:
  1278. (Text crud before and after parameter has been omitted).
  1279. Expression for parameter number 1:
  1280.  
  1281. ---- Start of Expression ----
  1282.  
  1283. ----- Start Text Element -----
  1284. Text scrap[Grey]="Toucan"
  1285. ------ End Text Element ------
  1286.  
  1287. ----- End of Expression -----
  1288.  
  1289. --- End Invocation Element ---
  1290.  
  1291.  
  1292. ----- Start Text Element -----
  1293. Text scrap[White]="<010>
  1294. "
  1295. ------ End Text Element ------
  1296.  
  1297.  
  1298. -- Begin Invocation Element --
  1299. Invocation of macro @<Two@>
  1300. This invocation has 2 actual parameters.
  1301. Actual parameter list follows as a sequence of expressions:
  1302. (Text crud before and after parameter has been omitted).
  1303. Expression for parameter number 1:
  1304.  
  1305. ---- Start of Expression ----
  1306.  
  1307. ----- Start Text Element -----
  1308. Text scrap[Grey]="Toucan"
  1309. ------ End Text Element ------
  1310.  
  1311. ----- End of Expression -----
  1312.  
  1313. Expression for parameter number 2:
  1314.  
  1315. ---- Start of Expression ----
  1316.  
  1317. ----- Start Text Element -----
  1318. Text scrap[Grey]="Teapot"
  1319. ------ End Text Element ------
  1320.  
  1321. ----- End of Expression -----
  1322.  
  1323. --- End Invocation Element ---
  1324.  
  1325.  
  1326. ----- Start Text Element -----
  1327. Text scrap[White]="<010>
  1328. "
  1329. ------ End Text Element ------
  1330.  
  1331.  
  1332. -- Begin Invocation Element --
  1333. Invocation of macro @<Three@>
  1334. This invocation has 3 actual parameters.
  1335. Actual parameter list follows as a sequence of expressions:
  1336. (Text crud before and after parameter has been omitted).
  1337. Expression for parameter number 1:
  1338.  
  1339. ---- Start of Expression ----
  1340.  
  1341. ----- Start Text Element -----
  1342. Text scrap[Grey]="Toucan"
  1343. ------ End Text Element ------
  1344.  
  1345. ----- End of Expression -----
  1346.  
  1347. Expression for parameter number 2:
  1348.  
  1349. ---- Start of Expression ----
  1350.  
  1351. ----- Start Text Element -----
  1352. Text scrap[Grey]="Teapot"
  1353. ------ End Text Element ------
  1354.  
  1355. ----- End of Expression -----
  1356.  
  1357. Expression for parameter number 3:
  1358.  
  1359. ---- Start of Expression ----
  1360.  
  1361. ----- Start Text Element -----
  1362. Text scrap[Grey]="Walrus"
  1363. ------ End Text Element ------
  1364.  
  1365. ----- End of Expression -----
  1366.  
  1367. --- End Invocation Element ---
  1368.  
  1369.  
  1370. ----- Start Text Element -----
  1371. Text scrap[White]="<010>
  1372. "
  1373. ------ End Text Element ------
  1374.  
  1375.  
  1376. -- Begin Invocation Element --
  1377. Invocation of macro @<Nine@>
  1378. This invocation has 9 actual parameters.
  1379. Actual parameter list follows as a sequence of expressions:
  1380. (Text crud before and after parameter has been omitted).
  1381. Expression for parameter number 1:
  1382.  
  1383. ---- Start of Expression ----
  1384.  
  1385. ----- Start Text Element -----
  1386. Text scrap[Grey]="Toucan"
  1387. ------ End Text Element ------
  1388.  
  1389. ----- End of Expression -----
  1390.  
  1391. Expression for parameter number 2:
  1392.  
  1393. ---- Start of Expression ----
  1394.  
  1395. ----- Start Text Element -----
  1396. Text scrap[Grey]="Teapot"
  1397. ------ End Text Element ------
  1398.  
  1399. ----- End of Expression -----
  1400.  
  1401. Expression for parameter number 3:
  1402.  
  1403. ---- Start of Expression ----
  1404.  
  1405. ----- Start Text Element -----
  1406. Text scrap[Grey]="Walrus"
  1407. ------ End Text Element ------
  1408.  
  1409. ----- End of Expression -----
  1410.  
  1411. Expression for parameter number 4:
  1412.  
  1413. ---- Start of Expression ----
  1414.  
  1415. ----- Start Text Element -----
  1416. Text scrap[Grey]="Toucan"
  1417. ------ End Text Element ------
  1418.  
  1419. ----- End of Expression -----
  1420.  
  1421. Expression for parameter number 5:
  1422.  
  1423. ---- Start of Expression ----
  1424.  
  1425. ----- Start Text Element -----
  1426. Text scrap[Grey]="Teapot"
  1427. ------ End Text Element ------
  1428.  
  1429. ----- End of Expression -----
  1430.  
  1431. Expression for parameter number 6:
  1432.  
  1433. ---- Start of Expression ----
  1434.  
  1435. ----- Start Text Element -----
  1436. Text scrap[Grey]="Walrus"
  1437. ------ End Text Element ------
  1438.  
  1439. ----- End of Expression -----
  1440.  
  1441. Expression for parameter number 7:
  1442.  
  1443. ---- Start of Expression ----
  1444.  
  1445. ----- Start Text Element -----
  1446. Text scrap[Grey]="Toucan"
  1447. ------ End Text Element ------
  1448.  
  1449. ----- End of Expression -----
  1450.  
  1451. Expression for parameter number 8:
  1452.  
  1453. ---- Start of Expression ----
  1454.  
  1455. ----- Start Text Element -----
  1456. Text scrap[Grey]="Teapot"
  1457. ------ End Text Element ------
  1458.  
  1459. ----- End of Expression -----
  1460.  
  1461. Expression for parameter number 9:
  1462.  
  1463. ---- Start of Expression ----
  1464.  
  1465. ----- Start Text Element -----
  1466. Text scrap[Grey]="Walrus"
  1467. ------ End Text Element ------
  1468.  
  1469. ----- End of Expression -----
  1470.  
  1471. --- End Invocation Element ---
  1472.  
  1473.  
  1474. ----- Start Text Element -----
  1475. Text scrap[Grey]="<010>
  1476. <010>
  1477. 7. Test macro calls with mixed double quotes on parameters.<010>
  1478. "
  1479. ------ End Text Element ------
  1480.  
  1481.  
  1482. -- Begin Invocation Element --
  1483. Invocation of macro @<Two@>
  1484. This invocation has 2 actual parameters.
  1485. Actual parameter list follows as a sequence of expressions:
  1486. (Text crud before and after parameter has been omitted).
  1487. Expression for parameter number 1:
  1488.  
  1489. ---- Start of Expression ----
  1490.  
  1491. ----- Start Text Element -----
  1492. Text scrap[Grey]="Toucan"
  1493. ------ End Text Element ------
  1494.  
  1495. ----- End of Expression -----
  1496.  
  1497. Expression for parameter number 2:
  1498.  
  1499. ---- Start of Expression ----
  1500.  
  1501. ----- Start Text Element -----
  1502. Text scrap[Grey]="Teapot"
  1503. ------ End Text Element ------
  1504.  
  1505. ----- End of Expression -----
  1506.  
  1507. --- End Invocation Element ---
  1508.  
  1509.  
  1510. ----- Start Text Element -----
  1511. Text scrap[White]="<010>
  1512. "
  1513. ------ End Text Element ------
  1514.  
  1515.  
  1516. -- Begin Invocation Element --
  1517. Invocation of macro @<Three@>
  1518. This invocation has 3 actual parameters.
  1519. Actual parameter list follows as a sequence of expressions:
  1520. (Text crud before and after parameter has been omitted).
  1521. Expression for parameter number 1:
  1522.  
  1523. ---- Start of Expression ----
  1524.  
  1525. ----- Start Text Element -----
  1526. Text scrap[Grey]="Toucan"
  1527. ------ End Text Element ------
  1528.  
  1529. ----- End of Expression -----
  1530.  
  1531. Expression for parameter number 2:
  1532.  
  1533. ---- Start of Expression ----
  1534.  
  1535. ----- Start Text Element -----
  1536. Text scrap[Grey]="Teapot"
  1537. ------ End Text Element ------
  1538.  
  1539. ----- End of Expression -----
  1540.  
  1541. Expression for parameter number 3:
  1542.  
  1543. ---- Start of Expression ----
  1544.  
  1545. ----- Start Text Element -----
  1546. Text scrap[Grey]="Walrus"
  1547. ------ End Text Element ------
  1548.  
  1549. ----- End of Expression -----
  1550.  
  1551. --- End Invocation Element ---
  1552.  
  1553.  
  1554. ----- Start Text Element -----
  1555. Text scrap[White]="<010>
  1556. "
  1557. ------ End Text Element ------
  1558.  
  1559.  
  1560. -- Begin Invocation Element --
  1561. Invocation of macro @<Nine@>
  1562. This invocation has 9 actual parameters.
  1563. Actual parameter list follows as a sequence of expressions:
  1564. (Text crud before and after parameter has been omitted).
  1565. Expression for parameter number 1:
  1566.  
  1567. ---- Start of Expression ----
  1568.  
  1569. ----- Start Text Element -----
  1570. Text scrap[Grey]="Toucan"
  1571. ------ End Text Element ------
  1572.  
  1573. ----- End of Expression -----
  1574.  
  1575. Expression for parameter number 2:
  1576.  
  1577. ---- Start of Expression ----
  1578.  
  1579. ----- Start Text Element -----
  1580. Text scrap[Grey]="Teapot"
  1581. ------ End Text Element ------
  1582.  
  1583. ----- End of Expression -----
  1584.  
  1585. Expression for parameter number 3:
  1586.  
  1587. ---- Start of Expression ----
  1588.  
  1589. ----- Start Text Element -----
  1590. Text scrap[Grey]="   Walrus   "
  1591. ------ End Text Element ------
  1592.  
  1593. ----- End of Expression -----
  1594.  
  1595. Expression for parameter number 4:
  1596.  
  1597. ---- Start of Expression ----
  1598.  
  1599. ----- Start Text Element -----
  1600. Text scrap[Grey]="Toucan"
  1601. ------ End Text Element ------
  1602.  
  1603. ----- End of Expression -----
  1604.  
  1605. Expression for parameter number 5:
  1606.  
  1607. ---- Start of Expression ----
  1608.  
  1609. ----- Start Text Element -----
  1610. Text scrap[Grey]="   Teapot   "
  1611. ------ End Text Element ------
  1612.  
  1613. ----- End of Expression -----
  1614.  
  1615. Expression for parameter number 6:
  1616.  
  1617. ---- Start of Expression ----
  1618.  
  1619. ----- Start Text Element -----
  1620. Text scrap[Grey]="Walrus"
  1621. ------ End Text Element ------
  1622.  
  1623. ----- End of Expression -----
  1624.  
  1625. Expression for parameter number 7:
  1626.  
  1627. ---- Start of Expression ----
  1628.  
  1629. ----- Start Text Element -----
  1630. Text scrap[Grey]="Toucan"
  1631. ------ End Text Element ------
  1632.  
  1633. ----- End of Expression -----
  1634.  
  1635. Expression for parameter number 8:
  1636.  
  1637. ---- Start of Expression ----
  1638.  
  1639. ----- Start Text Element -----
  1640. Text scrap[Grey]="Teapot"
  1641. ------ End Text Element ------
  1642.  
  1643. ----- End of Expression -----
  1644.  
  1645. Expression for parameter number 9:
  1646.  
  1647. ---- Start of Expression ----
  1648.  
  1649. ----- Start Text Element -----
  1650. Text scrap[Grey]="Walrus"
  1651. ------ End Text Element ------
  1652.  
  1653. ----- End of Expression -----
  1654.  
  1655. --- End Invocation Element ---
  1656.  
  1657.  
  1658. ----- Start Text Element -----
  1659. Text scrap[White]="<010>
  1660. <010>
  1661. "
  1662. ------ End Text Element ------
  1663.  
  1664. ----- End of Expression -----
  1665.  
  1666. ---End of List of Body Parts---
  1667.  
  1668. -------------------- End of Macro Dump ---------------------
  1669.  
  1670.  
  1671.  
  1672. ------------------- Start of Macro Dump --------------------
  1673. Macro Name  : "Nine"
  1674. Defined?    : Yes.
  1675. Parameters  : 9
  1676. Additive?   : No.
  1677. Zero Calls? : No.
  1678. Many Calls? : No.
  1679. Output File?: No.
  1680. Call list   :
  1681.    Call 1: Parameters=9, Sequence num=7, Position(L,C)=(30,1).
  1682.    Call 2: Parameters=9, Sequence num=7, Position(L,C)=(40,1).
  1683.    Call 3: Parameters=9, Sequence num=7, Position(L,C)=(48,1).
  1684. Macro body  :
  1685.  
  1686. --Start of List of Body Parts--
  1687. This macro has 1 body part.
  1688. Body part 1: Seqnum=5, Pos(L,C)=(12,3), Expression follows:
  1689.  
  1690. ---- Start of Expression ----
  1691. ----- End of Expression -----
  1692.  
  1693. ---End of List of Body Parts---
  1694.  
  1695. -------------------- End of Macro Dump ---------------------
  1696.  
  1697.  
  1698.  
  1699. ------------------- Start of Macro Dump --------------------
  1700. Macro Name  : "One"
  1701. Defined?    : Yes.
  1702. Parameters  : 1
  1703. Additive?   : No.
  1704. Zero Calls? : No.
  1705. Many Calls? : No.
  1706. Output File?: No.
  1707. Call list   :
  1708.    Call 1: Parameters=1, Sequence num=7, Position(L,C)=(25,1).
  1709.    Call 2: Parameters=1, Sequence num=7, Position(L,C)=(35,1).
  1710. Macro body  :
  1711.  
  1712. --Start of List of Body Parts--
  1713. This macro has 1 body part.
  1714. Body part 1: Seqnum=2, Pos(L,C)=(9,3), Expression follows:
  1715.  
  1716. ---- Start of Expression ----
  1717. ----- End of Expression -----
  1718.  
  1719. ---End of List of Body Parts---
  1720.  
  1721. -------------------- End of Macro Dump ---------------------
  1722.  
  1723.  
  1724.  
  1725. ------------------- Start of Macro Dump --------------------
  1726. Macro Name  : "Three"
  1727. Defined?    : Yes.
  1728. Parameters  : 3
  1729. Additive?   : No.
  1730. Zero Calls? : No.
  1731. Many Calls? : No.
  1732. Output File?: No.
  1733. Call list   :
  1734.    Call 1: Parameters=3, Sequence num=7, Position(L,C)=(29,1).
  1735.    Call 2: Parameters=3, Sequence num=7, Position(L,C)=(37,1).
  1736.    Call 3: Parameters=3, Sequence num=7, Position(L,C)=(46,1).
  1737. Macro body  :
  1738.  
  1739. --Start of List of Body Parts--
  1740. This macro has 1 body part.
  1741. Body part 1: Seqnum=4, Pos(L,C)=(11,3), Expression follows:
  1742.  
  1743. ---- Start of Expression ----
  1744. ----- End of Expression -----
  1745.  
  1746. ---End of List of Body Parts---
  1747.  
  1748. -------------------- End of Macro Dump ---------------------
  1749.  
  1750.  
  1751.  
  1752. ------------------- Start of Macro Dump --------------------
  1753. Macro Name  : "Two"
  1754. Defined?    : Yes.
  1755. Parameters  : 2
  1756. Additive?   : No.
  1757. Zero Calls? : No.
  1758. Many Calls? : No.
  1759. Output File?: No.
  1760. Call list   :
  1761.    Call 1: Parameters=2, Sequence num=7, Position(L,C)=(28,1).
  1762.    Call 2: Parameters=2, Sequence num=7, Position(L,C)=(36,1).
  1763.    Call 3: Parameters=2, Sequence num=7, Position(L,C)=(45,1).
  1764.    Call 4: Parameters=1, Sequence num=8, Position(L,C)=(76,1).
  1765. Macro body  :
  1766.  
  1767. --Start of List of Body Parts--
  1768. This macro has 1 body part.
  1769. Body part 1: Seqnum=3, Pos(L,C)=(10,3), Expression follows:
  1770.  
  1771. ---- Start of Expression ----
  1772. ----- End of Expression -----
  1773.  
  1774. ---End of List of Body Parts---
  1775.  
  1776. -------------------- End of Macro Dump ---------------------
  1777.  
  1778.  
  1779.  
  1780. ------------------- Start of Macro Dump --------------------
  1781. Macro Name  : "Zero"
  1782. Defined?    : Yes.
  1783. Parameters  : 0
  1784. Additive?   : No.
  1785. Zero Calls? : No.
  1786. Many Calls? : No.
  1787. Output File?: No.
  1788. Call list   :
  1789.    Call 1: Parameters=0, Sequence num=7, Position(L,C)=(19,1).
  1790.    Call 2: Parameters=0, Sequence num=8, Position(L,C)=(61,1).
  1791. Macro body  :
  1792.  
  1793. --Start of List of Body Parts--
  1794. This macro has 1 body part.
  1795. Body part 1: Seqnum=1, Pos(L,C)=(8,3), Expression follows:
  1796.  
  1797. ---- Start of Expression ----
  1798. ----- End of Expression -----
  1799.  
  1800. ---End of List of Body Parts---
  1801.  
  1802. -------------------- End of Macro Dump ---------------------
  1803.  
  1804.  
  1805.  
  1806. =========================== End of MACRO TABLE DUMP ============================
  1807.  
  1808.  
  1809. ========================= Start of DOCUMENT LIST DUMP ==========================
  1810.  
  1811.  
  1812. TEXT COMPONENT: Pos(L,C)=(1,1). 
  1813.  
  1814. -- Start of Text Scrap List --
  1815. Text scrap[Grey]="PR09: Test calls and actual parameter lists.<010>
  1816. <010>
  1817. First trip up the parser so we don't get any further.<010>
  1818. "
  1819. --- End of Text Scrap List ---
  1820.  
  1821.  
  1822. TEXT COMPONENT: Pos(L,C)=(4,3). 
  1823.  
  1824. -- Start of Text Scrap List --
  1825. Text scrap[Grey]="<010>
  1826. <010>
  1827. Now define some macros to call. No error.<010>
  1828. <010>
  1829. "
  1830. --- End of Text Scrap List ---
  1831.  
  1832.  
  1833. MACRO DEFINITION COMPONENT: Pos(L,C)=(8,1). 
  1834. Part 1 of macro @<Zero@>.
  1835.  
  1836. TEXT COMPONENT: Pos(L,C)=(8,15). 
  1837.  
  1838. -- Start of Text Scrap List --
  1839. Text scrap[White]="<010>
  1840. "
  1841. --- End of Text Scrap List ---
  1842.  
  1843.  
  1844. MACRO DEFINITION COMPONENT: Pos(L,C)=(9,1). 
  1845. Part 1 of macro @<One@>.
  1846.  
  1847. TEXT COMPONENT: Pos(L,C)=(9,20). 
  1848.  
  1849. -- Start of Text Scrap List --
  1850. Text scrap[White]="<010>
  1851. "
  1852. --- End of Text Scrap List ---
  1853.  
  1854.  
  1855. MACRO DEFINITION COMPONENT: Pos(L,C)=(10,1). 
  1856. Part 1 of macro @<Two@>.
  1857.  
  1858. TEXT COMPONENT: Pos(L,C)=(10,20). 
  1859.  
  1860. -- Start of Text Scrap List --
  1861. Text scrap[White]="<010>
  1862. "
  1863. --- End of Text Scrap List ---
  1864.  
  1865.  
  1866. MACRO DEFINITION COMPONENT: Pos(L,C)=(11,1). 
  1867. Part 1 of macro @<Three@>.
  1868.  
  1869. TEXT COMPONENT: Pos(L,C)=(11,22). 
  1870.  
  1871. -- Start of Text Scrap List --
  1872. Text scrap[White]="<010>
  1873. "
  1874. --- End of Text Scrap List ---
  1875.  
  1876.  
  1877. MACRO DEFINITION COMPONENT: Pos(L,C)=(12,1). 
  1878. Part 1 of macro @<Nine@>.
  1879.  
  1880. TEXT COMPONENT: Pos(L,C)=(12,21). 
  1881.  
  1882. -- Start of Text Scrap List --
  1883. Text scrap[White]="<010>
  1884. "
  1885. --- End of Text Scrap List ---
  1886.  
  1887.  
  1888. MACRO DEFINITION COMPONENT: Pos(L,C)=(13,1). 
  1889. Part 1 of macro @<"@>.
  1890.  
  1891. TEXT COMPONENT: Pos(L,C)=(13,10). 
  1892.  
  1893. -- Start of Text Scrap List --
  1894. Text scrap[Grey]="<010>
  1895. <010>
  1896. The following test calls should NOT generate any errors.<010>
  1897. <010>
  1898. "
  1899. --- End of Text Scrap List ---
  1900.  
  1901.  
  1902. MACRO DEFINITION COMPONENT: Pos(L,C)=(17,1). 
  1903. Part 1 of macro @<Macro containing the test macro calls.@>.
  1904.  
  1905. TEXT COMPONENT: Pos(L,C)=(52,3). 
  1906.  
  1907. -- Start of Text Scrap List --
  1908. Text scrap[White]=" "
  1909. Text scrap[Grey]="<010>
  1910. 8. Test macro calls with a variety of syntax errors in parameter list.<010>
  1911. "
  1912. --- End of Text Scrap List ---
  1913.  
  1914.  
  1915. TYPESETTER DIRECTIVE COMPONENT: 
  1916.    Section "1", Section name="Error recovery point".
  1917.  
  1918. TEXT COMPONENT: Pos(L,C)=(58,27). 
  1919.  
  1920. -- Start of Text Scrap List --
  1921. Text scrap[White]="<010>
  1922. <010>
  1923. "
  1924. --- End of Text Scrap List ---
  1925.  
  1926.  
  1927. TYPESETTER DIRECTIVE COMPONENT: 
  1928.    Section "2", Section name="Error recovery point".
  1929.  
  1930. TEXT COMPONENT: Pos(L,C)=(63,27). 
  1931.  
  1932. -- Start of Text Scrap List --
  1933. Text scrap[White]="<010>
  1934. <010>
  1935. "
  1936. --- End of Text Scrap List ---
  1937.  
  1938.  
  1939. TYPESETTER DIRECTIVE COMPONENT: 
  1940.    Section "3", Section name="Error recovery point".
  1941.  
  1942. TEXT COMPONENT: Pos(L,C)=(68,27). 
  1943.  
  1944. -- Start of Text Scrap List --
  1945. Text scrap[White]="<010>
  1946. <010>
  1947. "
  1948. --- End of Text Scrap List ---
  1949.  
  1950.  
  1951. TYPESETTER DIRECTIVE COMPONENT: 
  1952.    Section "4", Section name="Error recovery point".
  1953.  
  1954. TEXT COMPONENT: Pos(L,C)=(73,27). 
  1955.  
  1956. -- Start of Text Scrap List --
  1957. Text scrap[White]="<010>
  1958. <010>
  1959. "
  1960. --- End of Text Scrap List ---
  1961.  
  1962.  
  1963. MACRO DEFINITION COMPONENT: Pos(L,C)=(75,1). 
  1964. Part 1 of macro @<Error5@>.
  1965.  
  1966. TEXT COMPONENT: Pos(L,C)=(77,3). 
  1967.  
  1968. -- Start of Text Scrap List --
  1969. Text scrap[White]="<010>
  1970. "
  1971. --- End of Text Scrap List ---
  1972.  
  1973.  
  1974. TYPESETTER DIRECTIVE COMPONENT: 
  1975.    Section "5", Section name="Error recovery point".
  1976.  
  1977. TEXT COMPONENT: Pos(L,C)=(78,27). 
  1978.  
  1979. -- Start of Text Scrap List --
  1980. Text scrap[White]="<010>
  1981. <010>
  1982. "
  1983. --- End of Text Scrap List ---
  1984.  
  1985.  
  1986. TYPESETTER DIRECTIVE COMPONENT: 
  1987.    Section "6", Section name="Error recovery point".
  1988.  
  1989. TEXT COMPONENT: Pos(L,C)=(83,27). 
  1990.  
  1991. -- Start of Text Scrap List --
  1992. Text scrap[White]="<010>
  1993. <010>
  1994. "
  1995. --- End of Text Scrap List ---
  1996.  
  1997.  
  1998. TYPESETTER DIRECTIVE COMPONENT: 
  1999.    Section "7", Section name="Error recovery point".
  2000.  
  2001. TEXT COMPONENT: Pos(L,C)=(91,27). 
  2002.  
  2003. -- Start of Text Scrap List --
  2004. Text scrap[White]="<010>
  2005. <010>
  2006. "
  2007. --- End of Text Scrap List ---
  2008.  
  2009.  
  2010. ========================== End of DOCUMENT LIST DUMP ===========================
  2011.  
  2012.  
  2013. Global Local| Input File
  2014. ------------+-------------------------------------------------------------------
  2015.      1     1| PR09: Test calls and actual parameter lists.
  2016.      2     2| 
  2017.      3     3| First trip up the parser so we don't get any further.
  2018.      4     4| @>
  2019.        Error|.^The parser was at the top level and was expecting
  2020.             |.^one of: {Directive, Text, Macro definition, EOF}.
  2021.      5     5| 
  2022.      6     6| Now define some macros to call. No error.
  2023.      7     7| 
  2024.      8     8| @$@<Zero@>@{@}
  2025.      9     9| @$@<One@>@(@1@)@{@}
  2026.     10    10| @$@<Two@>@(@2@)@{@}
  2027.     11    11| @$@<Three@>@(@3@)@{@}
  2028.     12    12| @$@<Nine@>@(@9@)@{@}
  2029.     13    13| @$@#"@{@}
  2030.     14    14| 
  2031.     15    15| The following test calls should NOT generate any errors.
  2032.     16    16| 
  2033.     17    17| @$@<Macro containing the test macro calls.@>==@{
  2034.     18    18| 1. Test macro call with no parameter list.
  2035.     19    19| @<Zero@>
  2036.     20    20| 
  2037.     21    21| 2. Test macro call with quick name.
  2038.     22    22| @#"
  2039.     23    23| 
  2040.     24    24| 3. Test macro call with one parameter.
  2041.     25    25| @<One@>@(Toucan@)
  2042.     26    26| 
  2043.     27    27| 4. Test macro call with many parameters.
  2044.     28    28| @<Two@>@(Toucan@,Teapot@)
  2045.     29    29| @<Three@>@(Toucan@,Teapot@,Walrus@)
  2046.     30    30| @<Nine@>@(Toucan@,Teapot@,Walrus@,
  2047.     31    31|           Toucan@,Teapot@,Walrus@,
  2048.     32    32|           Toucan@,Teapot@,Walrus@)
  2049.     33    33| 
  2050.     34    34| 5. Test macro calls with double quotes on parameters.
  2051.     35    35| @<One@>@( @"Toucan@"@)
  2052.     36    36| @<Two@>@(@"Toucan@"   @,   @"Teapot@"@)
  2053.     37    37| @<Three@>@(@"Toucan@" @,
  2054.     38    38|            @"Teapot@" @,
  2055.     39    39|            @"Walrus@" @)
  2056.     40    40| @<Nine@>@( @"Toucan@" @, @"Teapot@" @, @"Walrus@" @,
  2057.     41    41|            @"Toucan@" @, @"Teapot@" @, @"Walrus@" @,
  2058.     42    42|            @"Toucan@" @, @"Teapot@" @, @"Walrus@" @)
  2059.     43    43| 
  2060.     44    44| 7. Test macro calls with mixed double quotes on parameters.
  2061.     45    45| @<Two@>@(@"Toucan@"   @,Teapot@)
  2062.     46    46| @<Three@>@(@"Toucan@" @,
  2063.     47    47|            @"Teapot@" @,Walrus@)
  2064.     48    48| @<Nine@>@( @"Toucan@" @, @"Teapot@" @,   Walrus   @,
  2065.     49    49|            @"Toucan@" @,   Teapot   @, @"Walrus@" @,
  2066.     50    50|            @"Toucan@" @, @"Teapot@" @, @"Walrus@" @)
  2067.     51    51| 
  2068.     52    52| @} @! End of macro definition enclosing all these legal tests.
  2069.     53    53| 
  2070.     54    54| 8. Test macro calls with a variety of syntax errors in parameter list.
  2071.     55    55| @$@<Error1@>@{
  2072.     56    56| @<Zero@>@(
  2073.     57    57| @}
  2074.        Error|.^Expecting @" or @, or @).
  2075.             |.^Skipping after error to the next major construct...
  2076.     58    58| @A@<Error recovery point@>
  2077.             |.^...skipped to here after the error.
  2078.     59    59| 
  2079.     60    60| @$@<Error2@>@{
  2080.     61    61| @<Zero@>@)
  2081.        Error|.........^Expecting '@}'.
  2082.             |.........^Skipping after error to the next major construct...
  2083.     62    62| @}
  2084.     63    63| @A@<Error recovery point@>
  2085.             |.^...skipped to here after the error.
  2086.     64    64| 
  2087.     65    65| @$@<Error3@>@{
  2088.     66    66| @<One@>@(@"Toucan@)
  2089.        Error|..................^Expecting '@"'.
  2090.             |..................^Skipping after error to the next major construct...
  2091.     67    67| @}
  2092.     68    68| @A@<Error recovery point@>
  2093.             |.^...skipped to here after the error.
  2094.     69    69| 
  2095.     70    70| @$@<Error4@>@{
  2096.     71    71| @<One@>@(@"Toucan@"@"Sloth@"@)
  2097.        Error|....................^Expecting @, or @).
  2098.             |....................^Skipping after error to the next major construct...
  2099.     72    72| @}
  2100.     73    73| @A@<Error recovery point@>
  2101.             |.^...skipped to here after the error.
  2102.     74    74| 
  2103.     75    75| @$@<Error5@>@{
  2104.     76    76| @<Two@>@(@"Toucan@"Teapot@)
  2105.        Error|....................^Expecting whitespace text.
  2106.     77    77| @}
  2107.     78    78| @A@<Error recovery point@>
  2108.     79    79| 
  2109.     80    80| @$@<Error6@>@{
  2110.     81    81| @<Two@>@(@"Toucan@"Teapot
  2111.        Error|....................^Expecting whitespace text.
  2112.     82    82| @}
  2113.        Error|.^Expecting @, or @).
  2114.             |.^Skipping after error to the next major construct...
  2115.     83    83| @A@<Error recovery point@>
  2116.             |.^...skipped to here after the error.
  2117.     84    84| 
  2118.     85    85| @$@<Error7@>@{
  2119.     86    86| @<Two@>@(@"Toucan@"Teapot
  2120.        Error|....................^Expecting whitespace text.
  2121.     87    87| @<Three@>@(Toucan@,
  2122.        Error|.^Expecting @, or @).
  2123.             |.^Skipping after error to the next major construct...
  2124.     88    88|            @"Teapot@,Walrus
  2125.     89    89| 
  2126.     90    90| @}
  2127.     91    91| @A@<Error recovery point@>
  2128.             |.^...skipped to here after the error.
  2129.     92    92| 
  2130.             | <End-Of-File>
  2131. ------------+-------------------------------------------------------------------
  2132.  
  2133. There were 10 Errors.
  2134.