home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / APPS / TEKST / FUNNEL_S / ANSWERS / PR10.LIS < prev    next >
File List  |  1992-05-27  |  13KB  |  397 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 31 30 3A 20 54 65 73 74 20 73 79 6E 74 61 | PR10: Test synta |
  13. | 63 74 69 63 20 65 72 72 6F 72 20 72 65 63 6F 76 | ctic error recov |
  14. | 65 72 79 2E 0A 0A 31 2E 20 54 65 73 74 20 72 65 | ery...1. Test re |
  15. | 63 6F 76 65 72 79 20 61 74 20 74 6F 70 20 70 61 | covery at top pa |
  16. | 72 73 69 6E 67 20 6C 65 76 65 6C 2E 0A 40 3C 0A | rsing level..@<. |
  17. | 0A 40 41 40 3C 45 72 72 6F 72 20 72 65 63 6F 76 | .@A@<Error recov |
  18. | 65 72 79 20 70 6F 69 6E 74 40 3E 0A 0A 32 2E 20 | ery point@>..2.  |
  19. | 54 65 73 74 20 72 65 63 6F 76 65 72 79 20 69 6E | Test recovery in |
  20. | 73 69 64 65 20 6D 61 63 72 6F 20 64 65 66 69 6E | side macro defin |
  21. | 69 74 69 6F 6E 2E 0A 0A 40 24 40 3C 53 6C 6F 74 | ition...@$@<Slot |
  22. | 68 31 40 3E 40 3E 3D 3D 40 7B 0A 57 61 6C 72 75 | h1@>@>==@{.Walru |
  23. | 73 40 7D 0A 0A 40 24 40 3C 53 6C 6F 74 68 32 40 | s@}..@$@<Sloth2@ |
  24. | 3E 3D 3D 40 7B 0A 40 3C 57 61 6C 72 75 73 40 3C | >==@{.@<Walrus@< |
  25. | 0A 40 7D 0A 40 41 40 3C 45 72 72 6F 72 20 72 65 | .@}.@A@<Error re |
  26. | 63 6F 76 65 72 79 20 70 6F 69 6E 74 40 3E 0A 0A | covery point@>.. |
  27. | 33 2E 20 54 65 73 74 20 72 65 63 6F 76 65 72 79 | 3. Test recovery |
  28. | 20 69 6E 73 69 64 65 20 61 63 74 75 61 6C 20 70 |  inside actual p |
  29. | 61 72 61 6D 65 74 65 72 20 6C 69 73 74 20 69 6E | arameter list in |
  30. | 20 6D 61 63 72 6F 20 64 65 66 69 6E 69 74 69 6F |  macro definitio |
  31. | 6E 2E 0A 40 24 40 3C 53 6C 6F 74 68 33 40 3E 3D | n..@$@<Sloth3@>= |
  32. | 3D 40 7B 0A 40 3C 57 61 6C 72 75 73 40 3E 40 28 | =@{.@<Walrus@>@( |
  33. | 40 22 61 61 72 64 76 61 72 6B 40 3E 0A 40 7D 0A | @"aardvark@>.@}. |
  34. | 40 41 40 3C 45 72 72 6F 72 20 72 65 63 6F 76 65 | @A@<Error recove |
  35. | 72 79 20 70 6F 69 6E 74 40 3E 0A 0A 34 2E 20 54 | ry point@>..4. T |
  36. | 65 73 74 20 45 4F 46 20 69 6E 20 74 68 65 20 6D | est EOF in the m |
  37. | 69 64 64 6C 65 20 6F 66 20 61 20 63 6F 6D 70 6C | iddle of a compl |
  38. | 69 63 61 74 65 64 20 63 6F 6E 73 74 72 75 63 74 | icated construct |
  39. | 2E 0A 54 68 65 20 66 6F 6C 6C 6F 77 69 6E 67 20 | ..The following  |
  40. | 6D 61 6B 65 73 20 74 68 65 20 65 6E 64 20 6F 66 | makes the end of |
  41. | 20 74 68 65 20 66 69 6C 65 20 6C 6F 6F 6B 65 64 |  the file looked |
  42. | 20 63 68 6F 70 70 65 64 20 6F 66 66 2C 20 62 75 |  chopped off, bu |
  43. | 74 20 69 74 20 69 73 0A 61 63 74 75 61 6C 6C 79 | t it is.actually |
  44. | 20 69 6E 74 65 6E 74 69 6F 6E 61 6C 2E 0A 40 24 |  intentional..@$ |
  45. | 40 3C 53 6C 6F 74 68 34 40 3E 3D 3D 40 7B 0A 40 | @<Sloth4@>==@{.@ |
  46. | 3C 57 61 6C 72 75 73 40 3E 40 28 40 22 61 61 72 | <Walrus@>@(@"aar |
  47. | 64 76 61 0A                                     | dva.             |
  48. +-------------------------------------------------+------------------+
  49.  
  50.  
  51. =========================== Start of LINE LIST DUMP ============================
  52.  
  53. Globl Local| Text
  54. -----------+--------------------------------------------------------------------
  55. 00001 00001| PR10: Test syntactic error recovery.<010>
  56. 00002 00002| <010>
  57. 00003 00003| 1. Test recovery at top parsing level.<010>
  58. 00004 00004| @<<010>
  59. 00005 00005| <010>
  60. 00006 00006| @A@<Error recovery point@><010>
  61. 00007 00007| <010>
  62. 00008 00008| 2. Test recovery inside macro definition.<010>
  63. 00009 00009| <010>
  64. 00010 00010| @$@<Sloth1@>@>==@{<010>
  65. 00011 00011| Walrus@}<010>
  66. 00012 00012| <010>
  67. 00013 00013| @$@<Sloth2@>==@{<010>
  68. 00014 00014| @<Walrus@<<010>
  69. 00015 00015| @}<010>
  70. 00016 00016| @A@<Error recovery point@><010>
  71. 00017 00017| <010>
  72. 00018 00018| 3. Test recovery inside actual parameter list in macro definition.<010>
  73. 00019 00019| @$@<Sloth3@>==@{<010>
  74. 00020 00020| @<Walrus@>@(@"aardvark@><010>
  75. 00021 00021| @}<010>
  76. 00022 00022| @A@<Error recovery point@><010>
  77. 00023 00023| <010>
  78. 00024 00024| 4. Test EOF in the middle of a complicated construct.<010>
  79. 00025 00025| The following makes the end of the file looked chopped off, but it is<010>
  80. 00026 00026| actually intentional.<010>
  81. 00027 00027| @$@<Sloth4@>==@{<010>
  82. 00028 00028| @<Walrus@>@(@"aardva<010>
  83. 00029 00029| <End-Of-File><010>
  84. -----------+--------------------------------------------------------------------
  85. Globl Local| Text
  86.  
  87. ============================ End of LINE LIST DUMP =============================
  88.  
  89.  
  90. =========================== Start of TOKEN LIST DUMP ===========================
  91.  
  92. Summary: There are 72 tokens in the token list.
  93.  
  94. Line[Column]: Token Description
  95. -------------------------------
  96.  
  97. 0001[01]: Text. Text scrap[Grey]="PR10: Test syntactic error recovery.<010>
  98. <010>
  99. 1. Test recovery at top parsing level.<010>
  100. "
  101. 0004[01]: @< Open name. 
  102. 0004[03]: Text. Text scrap[White]="<010>
  103. <010>
  104. "
  105. 0006[01]: @A New section (Level 1). 
  106. 0006[03]: @< Open name. 
  107. 0006[05]: Text. Text scrap[Grey]="Error recovery point"
  108. 0006[25]: @> Close name. 
  109. 0006[27]: Text. Text scrap[Grey]="<010>
  110. <010>
  111. 2. Test recovery inside macro definition.<010>
  112. <010>
  113. "
  114. 0010[01]: @$ Macro defn. 
  115. 0010[03]: @< Open name. 
  116. 0010[05]: Text. Text scrap[Grey]="Sloth1"
  117. 0010[11]: @> Close name. 
  118. 0010[13]: @> Close name. 
  119. 0010[15]: Text. Text scrap[Grey]="=="
  120. 0010[17]: @{ Open defn. 
  121. 0010[19]: Text. Text scrap[Grey]="<010>
  122. Walrus"
  123. 0011[07]: @} Close defn. 
  124. 0011[09]: Text. Text scrap[White]="<010>
  125. <010>
  126. "
  127. 0013[01]: @$ Macro defn. 
  128. 0013[03]: @< Open name. 
  129. 0013[05]: Text. Text scrap[Grey]="Sloth2"
  130. 0013[11]: @> Close name. 
  131. 0013[13]: Text. Text scrap[Grey]="=="
  132. 0013[15]: @{ Open defn. 
  133. 0013[17]: Text. Text scrap[White]="<010>
  134. "
  135. 0014[01]: @< Open name. 
  136. 0014[03]: Text. Text scrap[Grey]="Walrus"
  137. 0014[09]: @< Open name. 
  138. 0014[11]: Text. Text scrap[White]="<010>
  139. "
  140. 0015[01]: @} Close defn. 
  141. 0015[03]: Text. Text scrap[White]="<010>
  142. "
  143. 0016[01]: @A New section (Level 1). 
  144. 0016[03]: @< Open name. 
  145. 0016[05]: Text. Text scrap[Grey]="Error recovery point"
  146. 0016[25]: @> Close name. 
  147. 0016[27]: Text. Text scrap[Grey]="<010>
  148. <010>
  149. 3. Test recovery inside actual parameter list in macro definition.<010>
  150. "
  151. 0019[01]: @$ Macro defn. 
  152. 0019[03]: @< Open name. 
  153. 0019[05]: Text. Text scrap[Grey]="Sloth3"
  154. 0019[11]: @> Close name. 
  155. 0019[13]: Text. Text scrap[Grey]="=="
  156. 0019[15]: @{ Open defn. 
  157. 0019[17]: Text. Text scrap[White]="<010>
  158. "
  159. 0020[01]: @< Open name. 
  160. 0020[03]: Text. Text scrap[Grey]="Walrus"
  161. 0020[09]: @> Close name. 
  162. 0020[11]: @( Open param. 
  163. 0020[13]: @" Quote. 
  164. 0020[15]: Text. Text scrap[Grey]="aardvark"
  165. 0020[23]: @> Close name. 
  166. 0020[25]: Text. Text scrap[White]="<010>
  167. "
  168. 0021[01]: @} Close defn. 
  169. 0021[03]: Text. Text scrap[White]="<010>
  170. "
  171. 0022[01]: @A New section (Level 1). 
  172. 0022[03]: @< Open name. 
  173. 0022[05]: Text. Text scrap[Grey]="Error recovery point"
  174. 0022[25]: @> Close name. 
  175. 0022[27]: Text. Text scrap[Grey]="<010>
  176. <010>
  177. 4. Test EOF in the middle of a complicated construct.<010>
  178. The following makes the end of the file looked chopped off, but it is<010>
  179. actually intentional.<010>
  180. "
  181. 0027[01]: @$ Macro defn. 
  182. 0027[03]: @< Open name. 
  183. 0027[05]: Text. Text scrap[Grey]="Sloth4"
  184. 0027[11]: @> Close name. 
  185. 0027[13]: Text. Text scrap[Grey]="=="
  186. 0027[15]: @{ Open defn. 
  187. 0027[17]: Text. Text scrap[White]="<010>
  188. "
  189. 0028[01]: @< Open name. 
  190. 0028[03]: Text. Text scrap[Grey]="Walrus"
  191. 0028[09]: @> Close name. 
  192. 0028[11]: @( Open param. 
  193. 0028[13]: @" Quote. 
  194. 0028[15]: Text. Text scrap[Grey]="aardva<010>
  195. "
  196. 0029[01]: End Of File. 
  197. ============================ End of TOKEN LIST DUMP ============================
  198.  
  199.  
  200. ========================== Start of MACRO TABLE DUMP ===========================
  201.  
  202.  
  203. ------------------- Start of Macro Dump --------------------
  204. Macro Name  : "Sloth1"
  205. Defined?    : Yes.
  206. Parameters  : 0
  207. Additive?   : No.
  208. Zero Calls? : No.
  209. Many Calls? : No.
  210. Output File?: No.
  211. Call list   :
  212. Macro body  :
  213.  
  214. --Start of List of Body Parts--
  215. This macro has 0 body parts.
  216. ---End of List of Body Parts---
  217.  
  218. -------------------- End of Macro Dump ---------------------
  219.  
  220.  
  221.  
  222. ------------------- Start of Macro Dump --------------------
  223. Macro Name  : "Sloth2"
  224. Defined?    : Yes.
  225. Parameters  : 0
  226. Additive?   : No.
  227. Zero Calls? : No.
  228. Many Calls? : No.
  229. Output File?: No.
  230. Call list   :
  231. Macro body  :
  232.  
  233. --Start of List of Body Parts--
  234. This macro has 0 body parts.
  235. ---End of List of Body Parts---
  236.  
  237. -------------------- End of Macro Dump ---------------------
  238.  
  239.  
  240.  
  241. ------------------- Start of Macro Dump --------------------
  242. Macro Name  : "Sloth3"
  243. Defined?    : Yes.
  244. Parameters  : 0
  245. Additive?   : No.
  246. Zero Calls? : No.
  247. Many Calls? : No.
  248. Output File?: No.
  249. Call list   :
  250. Macro body  :
  251.  
  252. --Start of List of Body Parts--
  253. This macro has 0 body parts.
  254. ---End of List of Body Parts---
  255.  
  256. -------------------- End of Macro Dump ---------------------
  257.  
  258.  
  259.  
  260. ------------------- Start of Macro Dump --------------------
  261. Macro Name  : "Sloth4"
  262. Defined?    : Yes.
  263. Parameters  : 0
  264. Additive?   : No.
  265. Zero Calls? : No.
  266. Many Calls? : No.
  267. Output File?: No.
  268. Call list   :
  269. Macro body  :
  270.  
  271. --Start of List of Body Parts--
  272. This macro has 0 body parts.
  273. ---End of List of Body Parts---
  274.  
  275. -------------------- End of Macro Dump ---------------------
  276.  
  277.  
  278.  
  279. =========================== End of MACRO TABLE DUMP ============================
  280.  
  281.  
  282. ========================= Start of DOCUMENT LIST DUMP ==========================
  283.  
  284.  
  285. TEXT COMPONENT: Pos(L,C)=(1,1). 
  286.  
  287. -- Start of Text Scrap List --
  288. Text scrap[Grey]="PR10: Test syntactic error recovery.<010>
  289. <010>
  290. 1. Test recovery at top parsing level.<010>
  291. "
  292. --- End of Text Scrap List ---
  293.  
  294.  
  295. TEXT COMPONENT: Pos(L,C)=(4,3). 
  296.  
  297. -- Start of Text Scrap List --
  298. Text scrap[White]="<010>
  299. <010>
  300. "
  301. --- End of Text Scrap List ---
  302.  
  303.  
  304. TYPESETTER DIRECTIVE COMPONENT: 
  305.    Section "1", Section name="Error recovery point".
  306.  
  307. TEXT COMPONENT: Pos(L,C)=(6,27). 
  308.  
  309. -- Start of Text Scrap List --
  310. Text scrap[Grey]="<010>
  311. <010>
  312. 2. Test recovery inside macro definition.<010>
  313. <010>
  314. "
  315. --- End of Text Scrap List ---
  316.  
  317.  
  318. TYPESETTER DIRECTIVE COMPONENT: 
  319.    Section "2", Section name="Error recovery point".
  320.  
  321. TEXT COMPONENT: Pos(L,C)=(16,27). 
  322.  
  323. -- Start of Text Scrap List --
  324. Text scrap[Grey]="<010>
  325. <010>
  326. 3. Test recovery inside actual parameter list in macro definition.<010>
  327. "
  328. --- End of Text Scrap List ---
  329.  
  330.  
  331. TYPESETTER DIRECTIVE COMPONENT: 
  332.    Section "3", Section name="Error recovery point".
  333.  
  334. TEXT COMPONENT: Pos(L,C)=(22,27). 
  335.  
  336. -- Start of Text Scrap List --
  337. Text scrap[Grey]="<010>
  338. <010>
  339. 4. Test EOF in the middle of a complicated construct.<010>
  340. The following makes the end of the file looked chopped off, but it is<010>
  341. actually intentional.<010>
  342. "
  343. --- End of Text Scrap List ---
  344.  
  345.  
  346. ========================== End of DOCUMENT LIST DUMP ===========================
  347.  
  348.  
  349. Global Local| Input File
  350. ------------+-------------------------------------------------------------------
  351.      1     1| PR10: Test syntactic error recovery.
  352.      2     2| 
  353.      3     3| 1. Test recovery at top parsing level.
  354.      4     4| @<
  355.        Error|.^The parser was at the top level and was expecting
  356.             |.^one of: {Directive, Text, Macro definition, EOF}.
  357.      5     5| 
  358.      6     6| @A@<Error recovery point@>
  359.      7     7| 
  360.      8     8| 2. Test recovery inside macro definition.
  361.      9     9| 
  362.     10    10| @$@<Sloth1@>@>==@{
  363.        Error|.............^Expecting '@{'.
  364.             |.............^Skipping after error to the next major construct...
  365.     11    11| Walrus@}
  366.     12    12| 
  367.     13    13| @$@<Sloth2@>==@{
  368.             |.^...skipped to here after the error.
  369.     14    14| @<Walrus@<
  370.        Error|.........^Illegal character or symbol in name.
  371.             |.........^Skipping after error to the next major construct...
  372.     15    15| @}
  373.     16    16| @A@<Error recovery point@>
  374.             |.^...skipped to here after the error.
  375.     17    17| 
  376.     18    18| 3. Test recovery inside actual parameter list in macro definition.
  377.     19    19| @$@<Sloth3@>==@{
  378.     20    20| @<Walrus@>@(@"aardvark@>
  379.        Error|.......................^Expecting '@"'.
  380.             |.......................^Skipping after error to the next major construct...
  381.     21    21| @}
  382.     22    22| @A@<Error recovery point@>
  383.             |.^...skipped to here after the error.
  384.     23    23| 
  385.     24    24| 4. Test EOF in the middle of a complicated construct.
  386.     25    25| The following makes the end of the file looked chopped off, but it is
  387.     26    26| actually intentional.
  388.     27    27| @$@<Sloth4@>==@{
  389.     28    28| @<Walrus@>@(@"aardva
  390.             | <End-Of-File>
  391.        Error|.^Expecting '@"'.
  392.             |.^Skipping after error to the next major construct...
  393.             |.^...skipped to here after the error.
  394. ------------+-------------------------------------------------------------------
  395.  
  396. There were 5 Errors.
  397.