Debian Codegraph @

answers/sc22.lis

raw
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 32 3A 20 54 65 73 74 20 73 79 6E 74 61 | SC22: Test synta |
13 | 78 20 63 68 65 63 6B 69 6E 67 20 6F 66 20 69 6E | x checking of in |
14 | 70 75 74 20 6C 69 6E 65 20 6C 65 6E 67 74 68 20 | put line length |
15 | 70 72 61 67 6D 61 2E 0A 0A 31 2E 20 54 65 73 74 | pragma...1. Test |
16 | 20 6E 6F 74 20 74 68 72 65 65 20 61 72 67 75 6D | not three argum |
17 | 65 6E 74 73 2E 0A 40 70 20 6D 61 78 69 6D 75 6D | ents..@p maximum |
18 | 5F 69 6E 70 75 74 5F 6C 69 6E 65 5F 6C 65 6E 67 | _input_line_leng |
19 | 74 68 0A 40 70 20 6D 61 78 69 6D 75 6D 5F 69 6E | th.@p maximum_in |
20 | 70 75 74 5F 6C 69 6E 65 5F 6C 65 6E 67 74 68 20 | put_line_length |
21 | 3D 0A 40 70 20 6D 61 78 69 6D 75 6D 5F 69 6E 70 | =.@p maximum_inp |
22 | 75 74 5F 6C 69 6E 65 5F 6C 65 6E 67 74 68 20 3D | ut_line_length = |
23 | 20 78 78 78 20 79 79 79 0A 0A 32 2E 20 54 65 73 | xxx yyy..2. Tes |
24 | 74 20 73 65 63 6F 6E 64 20 61 72 67 75 6D 65 6E | t second argumen |
25 | 74 20 6E 6F 74 20 22 3D 22 2E 0A 40 70 20 6D 61 | t not "="..@p ma |
26 | 78 69 6D 75 6D 5F 69 6E 70 75 74 5F 6C 69 6E 65 | ximum_input_line |
27 | 5F 6C 65 6E 67 74 68 20 78 20 73 6C 6F 74 68 0A | _length x sloth. |
28 | 0A 33 2E 20 54 65 73 74 20 76 61 6C 75 65 20 6F | .3. Test value o |
29 | 66 20 69 6E 66 69 6E 69 74 79 2E 0A 40 70 20 6D | f infinity..@p m |
30 | 61 78 69 6D 75 6D 5F 69 6E 70 75 74 5F 6C 69 6E | aximum_input_lin |
31 | 65 5F 6C 65 6E 67 74 68 20 3D 20 69 6E 66 69 6E | e_length = infin |
32 | 69 74 79 0A 0A 34 2E 20 54 65 73 74 20 6E 6F 6E | ity..4. Test non |
33 | 2D 64 65 63 69 6D 61 6C 20 64 69 67 69 74 20 69 | -decimal digit i |
34 | 6E 20 6E 75 6D 62 65 72 2E 0A 40 70 20 6D 61 78 | n number..@p max |
35 | 69 6D 75 6D 5F 69 6E 70 75 74 5F 6C 69 6E 65 5F | imum_input_line_ |
36 | 6C 65 6E 67 74 68 20 3D 20 32 65 66 0A 0A 35 2E | length = 2ef..5. |
37 | 20 54 65 73 74 20 6E 75 6D 62 65 72 20 69 73 20 | Test number is |
38 | 6D 6F 72 65 20 74 68 61 6E 20 65 69 67 68 74 20 | more than eight |
39 | 64 69 67 69 74 73 20 6C 6F 6E 67 2E 0A 40 70 20 | digits long..@p |
40 | 6D 61 78 69 6D 75 6D 5F 69 6E 70 75 74 5F 6C 69 | maximum_input_li |
41 | 6E 65 5F 6C 65 6E 67 74 68 20 3D 20 31 32 33 34 | ne_length = 1234 |
42 | 35 36 37 38 39 0A 0A 36 2E 20 54 65 73 74 20 6E | 56789..6. Test n |
43 | 75 6D 62 65 72 20 69 73 20 65 78 61 63 74 6C 79 | umber is exactly |
44 | 20 65 69 67 68 74 20 64 69 67 69 74 73 20 6C 6F | eight digits lo |
45 | 6E 67 2E 0A 40 70 20 6D 61 78 69 6D 75 6D 5F 69 | ng..@p maximum_i |
46 | 6E 70 75 74 5F 6C 69 6E 65 5F 6C 65 6E 67 74 68 | nput_line_length |
47 | 20 3D 20 31 32 33 34 35 36 37 38 0A 0A 0A | = 12345678... |
48 +-------------------------------------------------+------------------+
49
50
51 =========================== Start of LINE LIST DUMP ============================
52
53 Globl Local| Text
54 -----------+--------------------------------------------------------------------
55 00001 00001| SC22: Test syntax checking of input line length pragma.<010>
56 00002 00002| <010>
57 00003 00003| 1. Test not three arguments.<010>
58 00004 00004| @p maximum_input_line_length<010>
59 00005 00005| @p maximum_input_line_length =<010>
60 00006 00006| @p maximum_input_line_length = xxx yyy<010>
61 00007 00007| <010>
62 00008 00008| 2. Test second argument not "=".<010>
63 00009 00009| @p maximum_input_line_length x sloth<010>
64 00010 00010| <010>
65 00011 00011| 3. Test value of infinity.<010>
66 00012 00012| @p maximum_input_line_length = infinity<010>
67 00013 00013| <010>
68 00014 00014| 4. Test non-decimal digit in number.<010>
69 00015 00015| @p maximum_input_line_length = 2ef<010>
70 00016 00016| <010>
71 00017 00017| 5. Test number is more than eight digits long.<010>
72 00018 00018| @p maximum_input_line_length = 123456789<010>
73 00019 00019| <010>
74 00020 00020| 6. Test number is exactly eight digits long.<010>
75 00021 00021| @p maximum_input_line_length = 12345678<010>
76 00022 00022| <010>
77 00023 00023| <010>
78 00024 00024| <End-Of-File><010>
79 -----------+--------------------------------------------------------------------
80 Globl Local| Text
81
82 ============================ End of LINE LIST DUMP =============================
83
84
85 =========================== Start of TOKEN LIST DUMP ===========================
86
87 Summary: There are 8 tokens in the token list.
88
89 Line[Column]: Token Description
90 -------------------------------
91
92 0001[01]: Text. Text scrap[Grey]="SC22: Test syntax checking of input line length pragma.<010>
93 <010>
94 1. Test not three arguments.<010>
95 "
96 0007[01]: Text. Text scrap[Grey]="<010>
97 2. Test second argument not "=".<010>
98 "
99 0010[01]: Text. Text scrap[Grey]="<010>
100 3. Test value of infinity.<010>
101 "
102 0013[01]: Text. Text scrap[Grey]="<010>
103 4. Test non-decimal digit in number.<010>
104 "
105 0016[01]: Text. Text scrap[Grey]="<010>
106 5. Test number is more than eight digits long.<010>
107 "
108 0019[01]: Text. Text scrap[Grey]="<010>
109 6. Test number is exactly eight digits long.<010>
110 "
111 0022[01]: Text. Text scrap[White]="<010>
112 <010>
113 "
114 0024[01]: End Of File.
115 ============================ End of TOKEN LIST DUMP ============================
116
117 Macro table dump skipped (Parser was not invoked).
118 Document list dump skipped (Parser was not invoked).
119
120 Global Local| Input File
121 ------------+-------------------------------------------------------------------
122 1 1| SC22: Test syntax checking of input line length pragma.
123 2 2|
124 3 3| 1. Test not three arguments.
125 4 4| @p maximum_input_line_length
126 Error|.^This pragma has the wrong number of arguments.
127 |.^The correct format is: "@p maximum_input_line_length = <num>|infinity".
128 |.^Pragma ignored.
129 5 5| @p maximum_input_line_length =
130 Error|.^This pragma has the wrong number of arguments.
131 |.^The correct format is: "@p maximum_input_line_length = <num>|infinity".
132 |.^Pragma ignored.
133 6 6| @p maximum_input_line_length = xxx yyy
134 Error|.^This pragma has the wrong number of arguments.
135 |.^The correct format is: "@p maximum_input_line_length = <num>|infinity".
136 |.^Pragma ignored.
137 7 7|
138 8 8| 2. Test second argument not "=".
139 9 9| @p maximum_input_line_length x sloth
140 |.^The correct format is: "@p maximum_input_line_length = <num>|infinity".
141 |.^Pragma ignored.
142 Error|..............................^Expecting "=".
143 10 10|
144 11 11| 3. Test value of infinity.
145 12 12| @p maximum_input_line_length = infinity
146 13 13|
147 14 14| 4. Test non-decimal digit in number.
148 15 15| @p maximum_input_line_length = 2ef
149 Error|.................................^Illegal digit. Value must consist entirely of decimal digits.
150 |.................................^You can also use the value "infinity".
151 |.................................^Pragma ignored.
152 16 16|
153 17 17| 5. Test number is more than eight digits long.
154 18 18| @p maximum_input_line_length = 123456789
155 Error|................................^Too many digits. The maximum is eight.
156 |................................^Pragma ignored.
157 19 19|
158 20 20| 6. Test number is exactly eight digits long.
159 21 21| @p maximum_input_line_length = 12345678
160 22 22|
161 23 23|
162 | <End-Of-File>
163 ------------+-------------------------------------------------------------------
164
165 There were 6 Errors.