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