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