home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / APPS / TEKST / FUNNEL_S / ANSWERS / SC21.LIS < prev    next >
File List  |  1992-05-27  |  19KB  |  340 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 31 3A 20 54 65 73 74 20 67 65 6E 65 72 | SC21: Test gener |
  13. | 69 63 20 73 79 6E 74 61 78 20 63 68 65 63 6B 69 | ic syntax checki |
  14. | 6E 67 20 6F 66 20 70 72 61 67 6D 61 73 20 61 6E | ng of pragmas an |
  15. | 64 20 74 79 70 65 73 65 74 74 65 72 20 64 69 72 | d typesetter dir |
  16. | 65 63 74 69 76 65 73 2E 0A 0A 31 2E 20 54 65 73 | ectives...1. Tes |
  17. | 74 20 70 72 61 67 6D 61 20 6E 6F 74 20 61 74 20 | t pragma not at  |
  18. | 74 68 65 20 73 74 61 72 74 20 6F 66 20 6C 69 6E | the start of lin |
  19. | 65 2E 0A 20 20 20 40 70 0A 20 20 20 40 74 0A 0A | e..   @p.   @t.. |
  20. | 32 2E 20 54 65 73 74 20 63 68 61 72 61 63 74 65 | 2. Test characte |
  21. | 72 20 66 6F 6C 6C 6F 77 69 6E 67 20 3C 73 70 65 | r following <spe |
  22. | 63 69 61 6C 3E 70 20 69 73 20 6E 6F 74 20 61 20 | cial>p is not a  |
  23. | 62 6C 61 6E 6B 2E 0A 40 70 78 0A 40 74 78 0A 40 | blank..@px.@tx.@ |
  24. | 70 0A 40 74 0A 0A 33 2E 20 54 65 73 74 20 70 72 | p.@t..3. Test pr |
  25. | 61 67 6D 61 20 6C 69 6E 65 20 69 73 20 74 6F 6F | agma line is too |
  26. | 20 6C 6F 6E 67 20 28 6C 69 6D 69 74 20 69 73 20 |  long (limit is  |
  27. | 31 30 30 29 0A 20 20 20 20 20 20 20 20 20 31 20 | 100).         1  |
  28. | 20 20 20 20 20 20 20 20 32 20 20 20 20 20 20 20 |         2        |
  29. | 20 20 33 20 20 20 20 20 20 20 20 20 34 20 20 20 |   3         4    |
  30. | 20 20 20 20 20 20 35 20 20 20 20 20 20 20 20 20 |       5          |
  31. | 36 20 20 20 20 20 20 20 20 20 37 20 20 20 20 20 | 6         7      |
  32. | 20 20 20 20 38 20 20 20 20 20 20 20 20 20 39 20 |     8         9  |
  33. | 20 20 20 20 20 20 20 20 31 0A 40 70 20 34 35 36 |         1.@p 456 |
  34. | 37 38 39 30 31 32 33 34 35 36 37 38 39 30 31 32 | 7890123456789012 |
  35. | 33 34 35 36 37 38 39 30 31 32 33 34 35 36 37 38 | 3456789012345678 |
  36. | 39 30 31 32 33 34 35 36 37 38 39 30 31 32 33 34 | 9012345678901234 |
  37. | 35 36 37 38 39 30 31 32 33 34 35 36 37 38 39 30 | 5678901234567890 |
  38. | 31 32 33 34 35 36 37 38 39 30 31 32 33 34 35 36 | 1234567890123456 |
  39. | 37 38 39 30 31 32 33 34 35 36 37 38 39 30 0A 40 | 78901234567890.@ |
  40. | 70 20 34 35 36 37 38 39 30 31 32 33 34 35 36 37 | p 45678901234567 |
  41. | 38 39 30 31 32 33 34 35 36 37 38 39 30 31 32 33 | 8901234567890123 |
  42. | 34 35 36 37 38 39 30 31 32 33 34 35 36 37 38 39 | 4567890123456789 |
  43. | 30 31 32 33 34 35 36 37 38 39 30 31 32 33 34 35 | 0123456789012345 |
  44. | 36 37 38 39 30 31 32 33 34 35 36 37 38 39 30 31 | 6789012345678901 |
  45. | 32 33 34 35 36 37 38 39 30 31 32 33 34 35 36 37 | 2345678901234567 |
  46. | 38 39 30 31 0A 40 74 20 34 35 36 37 38 39 30 31 | 8901.@t 45678901 |
  47. | 32 33 34 35 36 37 38 39 30 31 32 33 34 35 36 37 | 2345678901234567 |
  48. | 38 39 30 31 32 33 34 35 36 37 38 39 30 31 32 33 | 8901234567890123 |
  49. | 34 35 36 37 38 39 30 31 32 33 34 35 36 37 38 39 | 4567890123456789 |
  50. | 30 31 32 33 34 35 36 37 38 39 30 31 32 33 34 35 | 0123456789012345 |
  51. | 36 37 38 39 30 31 32 33 34 35 36 37 38 39 30 31 | 6789012345678901 |
  52. | 32 33 34 35 36 37 38 39 30 0A 40 74 20 34 35 36 | 234567890.@t 456 |
  53. | 37 38 39 30 31 32 33 34 35 36 37 38 39 30 31 32 | 7890123456789012 |
  54. | 33 34 35 36 37 38 39 30 31 32 33 34 35 36 37 38 | 3456789012345678 |
  55. | 39 30 31 32 33 34 35 36 37 38 39 30 31 32 33 34 | 9012345678901234 |
  56. | 35 36 37 38 39 30 31 32 33 34 35 36 37 38 39 30 | 5678901234567890 |
  57. | 31 32 33 34 35 36 37 38 39 30 31 32 33 34 35 36 | 1234567890123456 |
  58. | 37 38 39 30 31 32 33 34 35 36 37 38 39 30 31 0A | 789012345678901. |
  59. | 0A 34 2E 20 54 65 73 74 20 76 61 72 69 6F 75 73 | .4. Test various |
  60. | 20 64 69 66 66 65 72 65 6E 74 20 70 72 61 67 6D |  different pragm |
  61. | 61 20 6C 69 6E 65 73 2E 0A 40 70 20 24 23 25 40 | a lines..@p $#%@ |
  62. | 20 32 35 32 35 20 20 73 6C 6F 74 68 0A 40 74 20 |  2525  sloth.@t  |
  63. | 24 23 25 40 20 32 35 32 35 20 20 73 6C 6F 74 68 | $#%@ 2525  sloth |
  64. | 0A 0A 35 2E 20 54 65 73 74 20 70 72 61 67 6D 61 | ..5. Test pragma |
  65. | 20 77 69 74 68 20 6E 6F 20 61 72 67 75 6D 65 6E |  with no argumen |
  66. | 74 73 2E 20 28 57 69 6C 6C 20 67 65 74 20 61 20 | ts. (Will get a  |
  67. | 74 72 61 69 6C 69 6E 67 20 62 6C 61 6E 6B 73 20 | trailing blanks  |
  68. | 65 72 72 6F 72 2E 29 2E 0A 40 70 20 20 20 20 0A | error.)..@p    . |
  69. | 40 74 20 20 20 20 0A 0A 36 2E 20 54 65 73 74 20 | @t    ..6. Test  |
  70. | 70 72 61 67 6D 61 20 77 69 74 68 20 74 6F 6F 20 | pragma with too  |
  71. | 6D 61 6E 79 20 61 72 67 75 6D 65 6E 74 73 2E 0A | many arguments.. |
  72. | 40 70 20 61 20 62 20 63 20 64 20 65 20 66 20 67 | @p a b c d e f g |
  73. | 20 68 20 69 20 6A 20 6B 20 6C 20 6D 20 6E 20 6F |  h i j k l m n o |
  74. | 20 70 20 71 20 72 20 73 20 74 20 75 20 76 20 77 |  p q r s t u v w |
  75. | 20 78 20 79 20 7A 0A 40 74 20 61 20 62 20 63 20 |  x y z.@t a b c  |
  76. | 64 20 65 20 66 20 67 20 68 20 69 20 6A 20 6B 20 | d e f g h i j k  |
  77. | 6C 20 6D 20 6E 20 6F 20 70 20 71 20 72 20 73 20 | l m n o p q r s  |
  78. | 74 20 75 20 76 20 77 20 78 20 79 20 7A 0A 0A    | t u v w x y z..  |
  79. +-------------------------------------------------+------------------+
  80.  
  81.  
  82. =========================== Start of LINE LIST DUMP ============================
  83.  
  84. Globl Local| Text
  85. -----------+--------------------------------------------------------------------
  86. 00001 00001| SC21: Test generic syntax checking of pragmas and typesetter directives.<010>
  87. 00002 00002| <010>
  88. 00003 00003| 1. Test pragma not at the start of line.<010>
  89. 00004 00004|    @p<010>
  90. 00005 00005|    @t<010>
  91. 00006 00006| <010>
  92. 00007 00007| 2. Test character following <special>p is not a blank.<010>
  93. 00008 00008| @px<010>
  94. 00009 00009| @tx<010>
  95. 00010 00010| @p<010>
  96. 00011 00011| @t<010>
  97. 00012 00012| <010>
  98. 00013 00013| 3. Test pragma line is too long (limit is 100)<010>
  99. 00014 00014|          1         2         3         4         5         6         7         8         9         1<010>
  100. 00015 00015| @p 4567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890<010>
  101. 00016 00016| @p 45678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901<010>
  102. 00017 00017| @t 4567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890<010>
  103. 00018 00018| @t 45678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901<010>
  104. 00019 00019| <010>
  105. 00020 00020| 4. Test various different pragma lines.<010>
  106. 00021 00021| @p $#%@ 2525  sloth<010>
  107. 00022 00022| @t $#%@ 2525  sloth<010>
  108. 00023 00023| <010>
  109. 00024 00024| 5. Test pragma with no arguments. (Will get a trailing blanks error.).<010>
  110. 00025 00025| @p    <010>
  111. 00026 00026| @t    <010>
  112. 00027 00027| <010>
  113. 00028 00028| 6. Test pragma with too many arguments.<010>
  114. 00029 00029| @p a b c d e f g h i j k l m n o p q r s t u v w x y z<010>
  115. 00030 00030| @t a b c d e f g h i j k l m n o p q r s t u v w x y z<010>
  116. 00031 00031| <010>
  117. 00032 00032| <End-Of-File><010>
  118. -----------+--------------------------------------------------------------------
  119. Globl Local| Text
  120.  
  121. ============================ End of LINE LIST DUMP =============================
  122.  
  123.  
  124. =========================== Start of TOKEN LIST DUMP ===========================
  125.  
  126. Summary: There are 9 tokens in the token list.
  127.  
  128. Line[Column]: Token Description
  129. -------------------------------
  130.  
  131. 0001[01]: Text. Text scrap[Grey]="SC21: Test generic syntax checking of pragmas and typesetter directives.<010>
  132. <010>
  133. 1. Test pragma not at the start of line.<010>
  134.    "
  135. 0005[01]: Text. Text scrap[White]="   "
  136. 0006[01]: Text. Text scrap[Grey]="<010>
  137. 2. Test character following <special>p is not a blank.<010>
  138. "
  139. 0012[01]: Text. Text scrap[Grey]="<010>
  140. 3. Test pragma line is too long (limit is 100)<010>
  141.          1         2         3         4         5         6         7         8         9         1<010>
  142. "
  143. 0019[01]: Text. Text scrap[Grey]="<010>
  144. 4. Test various different pragma lines.<010>
  145. "
  146. 0023[01]: Text. Text scrap[Grey]="<010>
  147. 5. Test pragma with no arguments. (Will get a trailing blanks error.).<010>
  148. "
  149. 0027[01]: Text. Text scrap[Grey]="<010>
  150. 6. Test pragma with too many arguments.<010>
  151. "
  152. 0031[01]: Text. Text scrap[White]="<010>
  153. "
  154. 0032[01]: End Of File. 
  155. ============================ End of TOKEN LIST DUMP ============================
  156.  
  157. Macro table dump skipped (Parser was not invoked).
  158. Document list dump skipped (Parser was not invoked).
  159.  
  160. Global Local| Input File
  161. ------------+-------------------------------------------------------------------
  162.      1     1| SC21: Test generic syntax checking of pragmas and typesetter directives.
  163.      2     2| 
  164.      3     3| 1. Test pragma not at the start of line.
  165.      4     4|    @p
  166.        Error|....^Pragma sequence @p must be at the start of a line.
  167.             |....^The rest of this line will be ignored.
  168.        Error|....^Unrecognised pragma. Possible legal pragmas are:
  169.             |....^   @p indentation = none | blank
  170.             |....^   @p maximum_input_line_length  = <num>|infinity
  171.             |....^   @p maximum_output_line_length = <num>|infinity
  172.             |....^   @p typesetter = none | tex
  173.             |....^The blanks between arguments are important.
  174.             |....^Pragma ignored.
  175.      5     5|    @t
  176.        Error|....^Typesetter directive @t must be at the start of a line.
  177.             |....^The rest of this line will be ignored.
  178.        Error|....^Unrecognised typesetter directive. Legal ones are:
  179.             |....^   @t new_page
  180.             |....^   @t table_of_contents
  181.             |....^   @t title <font> <align> <string>
  182.             |....^   @t vskip <num> mm
  183.             |....^The blanks between arguments are important.
  184.             |....^Typesetter directive ignored.
  185.      6     6| 
  186.      7     7| 2. Test character following <special>p is not a blank.
  187.      8     8| @px
  188.        Error|.^Pragma sequence @p must be followed by a blank.
  189.        Error|.^Unrecognised pragma. Possible legal pragmas are:
  190.             |.^   @p indentation = none | blank
  191.             |.^   @p maximum_input_line_length  = <num>|infinity
  192.             |.^   @p maximum_output_line_length = <num>|infinity
  193.             |.^   @p typesetter = none | tex
  194.             |.^The blanks between arguments are important.
  195.             |.^Pragma ignored.
  196.      9     9| @tx
  197.        Error|.^Typesetter directive @t must be followed by a blank.
  198.        Error|.^Unrecognised typesetter directive. Legal ones are:
  199.             |.^   @t new_page
  200.             |.^   @t table_of_contents
  201.             |.^   @t title <font> <align> <string>
  202.             |.^   @t vskip <num> mm
  203.             |.^The blanks between arguments are important.
  204.             |.^Typesetter directive ignored.
  205.     10    10| @p
  206.        Error|.^Pragma sequence @p must be followed by a blank.
  207.        Error|.^Unrecognised pragma. Possible legal pragmas are:
  208.             |.^   @p indentation = none | blank
  209.             |.^   @p maximum_input_line_length  = <num>|infinity
  210.             |.^   @p maximum_output_line_length = <num>|infinity
  211.             |.^   @p typesetter = none | tex
  212.             |.^The blanks between arguments are important.
  213.             |.^Pragma ignored.
  214.     11    11| @t
  215.        Error|.^Typesetter directive @t must be followed by a blank.
  216.        Error|.^Unrecognised typesetter directive. Legal ones are:
  217.             |.^   @t new_page
  218.             |.^   @t table_of_contents
  219.             |.^   @t title <font> <align> <string>
  220.             |.^   @t vskip <num> mm
  221.             |.^The blanks between arguments are important.
  222.             |.^Typesetter directive ignored.
  223.     12    12| 
  224.     13    13| 3. Test pragma line is too long (limit is 100)
  225.     14    14|          1         2         3         4         5         6         7         8         9         1
  226.        Error|.................................................................................^Input line is too long (this character is the first offender).
  227.             |.................................................................................^Currently, the maximum allowable input line length is 80.
  228.             |.................................................................................^Note: You can change this using a pragma directive (@p).
  229.     15    15| @p 4567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
  230.        Error|.^Unrecognised pragma. Possible legal pragmas are:
  231.             |.^   @p indentation = none | blank
  232.             |.^   @p maximum_input_line_length  = <num>|infinity
  233.             |.^   @p maximum_output_line_length = <num>|infinity
  234.             |.^   @p typesetter = none | tex
  235.             |.^The blanks between arguments are important.
  236.             |.^Pragma ignored.
  237.        Error|.................................................................................^Input line is too long (this character is the first offender).
  238.             |.................................................................................^Currently, the maximum allowable input line length is 80.
  239.             |.................................................................................^Note: You can change this using a pragma directive (@p).
  240.     16    16| @p 45678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901
  241.        Error|.^This pragma line is too long.
  242.             |.^The maximum pragma line length is 100 characters.
  243.        Error|.^Unrecognised pragma. Possible legal pragmas are:
  244.             |.^   @p indentation = none | blank
  245.             |.^   @p maximum_input_line_length  = <num>|infinity
  246.             |.^   @p maximum_output_line_length = <num>|infinity
  247.             |.^   @p typesetter = none | tex
  248.             |.^The blanks between arguments are important.
  249.             |.^Pragma ignored.
  250.        Error|.................................................................................^Input line is too long (this character is the first offender).
  251.             |.................................................................................^Currently, the maximum allowable input line length is 80.
  252.             |.................................................................................^Note: You can change this using a pragma directive (@p).
  253.     17    17| @t 4567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
  254.        Error|.^Unrecognised typesetter directive. Legal ones are:
  255.             |.^   @t new_page
  256.             |.^   @t table_of_contents
  257.             |.^   @t title <font> <align> <string>
  258.             |.^   @t vskip <num> mm
  259.             |.^The blanks between arguments are important.
  260.             |.^Typesetter directive ignored.
  261.        Error|.................................................................................^Input line is too long (this character is the first offender).
  262.             |.................................................................................^Currently, the maximum allowable input line length is 80.
  263.             |.................................................................................^Note: You can change this using a pragma directive (@p).
  264.     18    18| @t 45678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901
  265.        Error|.^This typestter directive line is too long.
  266.             |.^The maximum typesetter directive line length is 100 characters.
  267.        Error|.^Unrecognised typesetter directive. Legal ones are:
  268.             |.^   @t new_page
  269.             |.^   @t table_of_contents
  270.             |.^   @t title <font> <align> <string>
  271.             |.^   @t vskip <num> mm
  272.             |.^The blanks between arguments are important.
  273.             |.^Typesetter directive ignored.
  274.        Error|.................................................................................^Input line is too long (this character is the first offender).
  275.             |.................................................................................^Currently, the maximum allowable input line length is 80.
  276.             |.................................................................................^Note: You can change this using a pragma directive (@p).
  277.     19    19| 
  278.     20    20| 4. Test various different pragma lines.
  279.     21    21| @p $#%@ 2525  sloth
  280.        Error|.^Unrecognised pragma. Possible legal pragmas are:
  281.             |.^   @p indentation = none | blank
  282.             |.^   @p maximum_input_line_length  = <num>|infinity
  283.             |.^   @p maximum_output_line_length = <num>|infinity
  284.             |.^   @p typesetter = none | tex
  285.             |.^The blanks between arguments are important.
  286.             |.^Pragma ignored.
  287.     22    22| @t $#%@ 2525  sloth
  288.        Error|.^Unrecognised typesetter directive. Legal ones are:
  289.             |.^   @t new_page
  290.             |.^   @t table_of_contents
  291.             |.^   @t title <font> <align> <string>
  292.             |.^   @t vskip <num> mm
  293.             |.^The blanks between arguments are important.
  294.             |.^Typesetter directive ignored.
  295.     23    23| 
  296.     24    24| 5. Test pragma with no arguments. (Will get a trailing blanks error.).
  297.     25    25| @p    
  298.        Error|.^Pragma sequence @p must be followed by a keyword.
  299.        Error|.^Unrecognised pragma. Possible legal pragmas are:
  300.             |.^   @p indentation = none | blank
  301.             |.^   @p maximum_input_line_length  = <num>|infinity
  302.             |.^   @p maximum_output_line_length = <num>|infinity
  303.             |.^   @p typesetter = none | tex
  304.             |.^The blanks between arguments are important.
  305.             |.^Pragma ignored.
  306.      Warning|......^Line has trailing spaces up to and including this space.
  307.     26    26| @t    
  308.        Error|.^Typesetter directive @t must be followed by a keyword.
  309.        Error|.^Unrecognised typesetter directive. Legal ones are:
  310.             |.^   @t new_page
  311.             |.^   @t table_of_contents
  312.             |.^   @t title <font> <align> <string>
  313.             |.^   @t vskip <num> mm
  314.             |.^The blanks between arguments are important.
  315.             |.^Typesetter directive ignored.
  316.      Warning|......^Line has trailing spaces up to and including this space.
  317.     27    27| 
  318.     28    28| 6. Test pragma with too many arguments.
  319.     29    29| @p a b c d e f g h i j k l m n o p q r s t u v w x y z
  320.        Error|.^Unrecognised pragma. Possible legal pragmas are:
  321.             |.^   @p indentation = none | blank
  322.             |.^   @p maximum_input_line_length  = <num>|infinity
  323.             |.^   @p maximum_output_line_length = <num>|infinity
  324.             |.^   @p typesetter = none | tex
  325.             |.^The blanks between arguments are important.
  326.             |.^Pragma ignored.
  327.     30    30| @t a b c d e f g h i j k l m n o p q r s t u v w x y z
  328.        Error|.^Unrecognised typesetter directive. Legal ones are:
  329.             |.^   @t new_page
  330.             |.^   @t table_of_contents
  331.             |.^   @t title <font> <align> <string>
  332.             |.^   @t vskip <num> mm
  333.             |.^The blanks between arguments are important.
  334.             |.^Typesetter directive ignored.
  335.     31    31| 
  336.             | <End-Of-File>
  337. ------------+-------------------------------------------------------------------
  338.  
  339. There were 31 Errors and 2 Warnings.
  340.