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