home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / APPS / TEKST / FUNNEL_S / ANSWERS / SC29.LIS < prev    next >
File List  |  1992-05-27  |  7KB  |  162 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. | 53 43 32 39 3A 20 54 65 73 74 20 73 79 6E 74 61 | SC29: Test synta |
  13. | 78 20 63 68 65 63 6B 69 6E 67 20 6F 66 20 74 79 | x checking of ty |
  14. | 70 65 73 65 74 74 65 72 20 70 72 61 67 6D 61 2E | pesetter pragma. |
  15. | 0A 0A 31 2E 20 54 65 73 74 20 6E 6F 74 20 74 68 | ..1. Test not th |
  16. | 72 65 65 20 61 72 67 75 6D 65 6E 74 73 2E 0A 40 | ree arguments..@ |
  17. | 70 20 74 79 70 65 73 65 74 74 65 72 0A 40 70 20 | p typesetter.@p  |
  18. | 74 79 70 65 73 65 74 74 65 72 20 3D 0A 40 70 20 | typesetter =.@p  |
  19. | 74 79 70 65 73 65 74 74 65 72 20 3D 20 78 78 78 | typesetter = xxx |
  20. | 20 79 79 79 0A 0A 32 2E 20 54 65 73 74 20 73 65 |  yyy..2. Test se |
  21. | 63 6F 6E 64 20 61 72 67 75 6D 65 6E 74 20 6E 6F | cond argument no |
  22. | 74 20 22 3D 22 2E 0A 40 70 20 74 79 70 65 73 65 | t "="..@p typese |
  23. | 74 74 65 72 20 78 20 73 6C 6F 74 68 0A 0A 33 2E | tter x sloth..3. |
  24. | 20 54 65 73 74 20 74 68 69 72 64 20 61 72 67 75 |  Test third argu |
  25. | 6D 65 6E 74 20 69 73 20 6E 6F 74 20 6C 65 67 61 | ment is not lega |
  26. | 6C 2E 0A 40 70 20 74 79 70 65 73 65 74 74 65 72 | l..@p typesetter |
  27. | 20 3D 20 73 6C 6F 74 68 0A 0A 34 2E 20 54 65 73 |  = sloth..4. Tes |
  28. | 74 20 74 68 69 72 64 20 61 72 67 75 6D 65 6E 74 | t third argument |
  29. | 20 69 73 20 6E 6F 6E 65 2E 0A 40 70 20 74 79 70 |  is none..@p typ |
  30. | 65 73 65 74 74 65 72 20 3D 20 6E 6F 6E 65 0A 0A | esetter = none.. |
  31. | 35 2E 20 54 65 73 74 20 74 68 69 72 64 20 61 72 | 5. Test third ar |
  32. | 67 75 6D 65 6E 74 20 69 73 20 74 65 78 2E 0A 36 | gument is tex..6 |
  33. | 2E 20 54 65 73 74 20 70 72 61 67 6D 61 20 6F 70 | . Test pragma op |
  34. | 70 6F 73 65 73 20 65 61 72 6C 69 65 72 20 70 72 | poses earlier pr |
  35. | 61 67 6D 61 2E 0A 40 70 20 74 79 70 65 73 65 74 | agma..@p typeset |
  36. | 74 65 72 20 3D 20 74 65 78 0A 0A 37 2E 20 54 65 | ter = tex..7. Te |
  37. | 73 74 20 70 72 61 67 6D 61 20 64 6F 65 73 20 6E | st pragma does n |
  38. | 6F 74 20 6F 70 70 6F 73 65 20 65 61 72 6C 69 65 | ot oppose earlie |
  39. | 72 20 70 72 61 67 6D 61 2E 0A 40 70 20 74 79 70 | r pragma..@p typ |
  40. | 65 73 65 74 74 65 72 20 3D 20 6E 6F 6E 65 0A 0A | esetter = none.. |
  41. +-------------------------------------------------+------------------+
  42.  
  43.  
  44. =========================== Start of LINE LIST DUMP ============================
  45.  
  46. Globl Local| Text
  47. -----------+--------------------------------------------------------------------
  48. 00001 00001| SC29: Test syntax checking of typesetter pragma.<010>
  49. 00002 00002| <010>
  50. 00003 00003| 1. Test not three arguments.<010>
  51. 00004 00004| @p typesetter<010>
  52. 00005 00005| @p typesetter =<010>
  53. 00006 00006| @p typesetter = xxx yyy<010>
  54. 00007 00007| <010>
  55. 00008 00008| 2. Test second argument not "=".<010>
  56. 00009 00009| @p typesetter x sloth<010>
  57. 00010 00010| <010>
  58. 00011 00011| 3. Test third argument is not legal.<010>
  59. 00012 00012| @p typesetter = sloth<010>
  60. 00013 00013| <010>
  61. 00014 00014| 4. Test third argument is none.<010>
  62. 00015 00015| @p typesetter = none<010>
  63. 00016 00016| <010>
  64. 00017 00017| 5. Test third argument is tex.<010>
  65. 00018 00018| 6. Test pragma opposes earlier pragma.<010>
  66. 00019 00019| @p typesetter = tex<010>
  67. 00020 00020| <010>
  68. 00021 00021| 7. Test pragma does not oppose earlier pragma.<010>
  69. 00022 00022| @p typesetter = none<010>
  70. 00023 00023| <010>
  71. 00024 00024| <End-Of-File><010>
  72. -----------+--------------------------------------------------------------------
  73. Globl Local| Text
  74.  
  75. ============================ End of LINE LIST DUMP =============================
  76.  
  77.  
  78. =========================== Start of TOKEN LIST DUMP ===========================
  79.  
  80. Summary: There are 8 tokens in the token list.
  81.  
  82. Line[Column]: Token Description
  83. -------------------------------
  84.  
  85. 0001[01]: Text. Text scrap[Grey]="SC29: Test syntax checking of typesetter pragma.<010>
  86. <010>
  87. 1. Test not three arguments.<010>
  88. "
  89. 0007[01]: Text. Text scrap[Grey]="<010>
  90. 2. Test second argument not "=".<010>
  91. "
  92. 0010[01]: Text. Text scrap[Grey]="<010>
  93. 3. Test third argument is not legal.<010>
  94. "
  95. 0013[01]: Text. Text scrap[Grey]="<010>
  96. 4. Test third argument is none.<010>
  97. "
  98. 0016[01]: Text. Text scrap[Grey]="<010>
  99. 5. Test third argument is tex.<010>
  100. 6. Test pragma opposes earlier pragma.<010>
  101. "
  102. 0020[01]: Text. Text scrap[Grey]="<010>
  103. 7. Test pragma does not oppose earlier pragma.<010>
  104. "
  105. 0023[01]: Text. Text scrap[White]="<010>
  106. "
  107. 0024[01]: End Of File. 
  108. ============================ End of TOKEN LIST DUMP ============================
  109.  
  110. Macro table dump skipped (Parser was not invoked).
  111. Document list dump skipped (Parser was not invoked).
  112.  
  113. Global Local| Input File
  114. ------------+-------------------------------------------------------------------
  115.      1     1| SC29: Test syntax checking of typesetter pragma.
  116.      2     2| 
  117.      3     3| 1. Test not three arguments.
  118.      4     4| @p typesetter
  119.        Error|.^This typesetter pragma has the wrong number of arguments.
  120.             |.^The correct format is: "@p typesetter = none|tex".
  121.             |.^Pragma ignored.
  122.      5     5| @p typesetter =
  123.        Error|.^This typesetter pragma has the wrong number of arguments.
  124.             |.^The correct format is: "@p typesetter = none|tex".
  125.             |.^Pragma ignored.
  126.      6     6| @p typesetter = xxx yyy
  127.        Error|.^This typesetter pragma has the wrong number of arguments.
  128.             |.^The correct format is: "@p typesetter = none|tex".
  129.             |.^Pragma ignored.
  130.      7     7| 
  131.      8     8| 2. Test second argument not "=".
  132.      9     9| @p typesetter x sloth
  133.             |.^The correct format is: "@p typesetter = none|tex".
  134.             |.^Pragma ignored.
  135.        Error|...............^Expecting "=".
  136.     10    10| 
  137.     11    11| 3. Test third argument is not legal.
  138.     12    12| @p typesetter = sloth
  139.             |.^The correct format is: "@p typesetter = none|tex".
  140.             |.^Pragma ignored.
  141.        Error|.................^Expecting either "none" or "tex".
  142.     13    13| 
  143.     14    14| 4. Test third argument is none.
  144.     15    15| @p typesetter = none
  145.             |.^This pragma is opposed by the pragma at line 19.
  146.     16    16| 
  147.     17    17| 5. Test third argument is tex.
  148.     18    18| 6. Test pragma opposes earlier pragma.
  149.     19    19| @p typesetter = tex
  150.        Error|.^This pragma opposes the pragma at line 15.
  151.             |.^You can have as many typesetter pragmas as you like,
  152.             |.^but they all have to be the same!
  153.             |.^Pragma ignored.
  154.     20    20| 
  155.     21    21| 7. Test pragma does not oppose earlier pragma.
  156.     22    22| @p typesetter = none
  157.     23    23| 
  158.             | <End-Of-File>
  159. ------------+-------------------------------------------------------------------
  160.  
  161. There were 6 Errors.
  162.