adlint 1.14.0 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. data/ChangeLog +265 -0
  2. data/MANIFEST +15 -0
  3. data/NEWS +30 -4
  4. data/etc/conf.d/noarch/adlint_all_bat.erb +1 -1
  5. data/etc/mesg.d/en_US/messages.yml +3 -3
  6. data/etc/mesg.d/ja_JP/messages.yml +3 -3
  7. data/features/message_detection/W0001.feature +2 -0
  8. data/features/message_detection/W0007.feature +8 -0
  9. data/features/message_detection/W0010.feature +4 -1
  10. data/features/message_detection/W0013.feature +8 -0
  11. data/features/message_detection/W0093.feature +3 -0
  12. data/features/message_detection/W0104.feature +7 -0
  13. data/features/message_detection/W0643.feature +80 -0
  14. data/features/message_detection/W0646.feature +115 -0
  15. data/features/message_detection/W0691.feature +100 -0
  16. data/features/message_detection/W0692.feature +32 -0
  17. data/features/message_detection/W0694.feature +128 -0
  18. data/features/message_detection/W0716.feature +3 -0
  19. data/features/message_detection/W0717.feature +3 -0
  20. data/features/message_detection/W0718.feature +3 -0
  21. data/features/message_detection/W0723.feature +2 -0
  22. data/features/message_detection/W0732.feature +3 -0
  23. data/features/message_detection/W0733.feature +3 -0
  24. data/features/message_detection/W0734.feature +8 -0
  25. data/features/message_detection/W0735.feature +8 -0
  26. data/features/message_detection/W0805.feature +92 -0
  27. data/features/message_detection/W0811.feature +79 -0
  28. data/features/message_detection/W1031.feature +7 -0
  29. data/features/message_detection/W1040.feature +89 -0
  30. data/features/message_detection/W1041.feature +15 -0
  31. data/features/message_detection/W1046.feature +60 -0
  32. data/features/message_detection/W1052.feature +3 -0
  33. data/features/message_detection/W1066.feature +3 -0
  34. data/features/message_detection/W1067.feature +3 -0
  35. data/features/message_detection/W1068.feature +3 -0
  36. data/features/message_detection/W1069.feature +5 -0
  37. data/features/message_detection/W1070.feature +6 -0
  38. data/features/message_detection/W1072.feature +1 -0
  39. data/features/message_detection/W1073.feature +145 -0
  40. data/features/message_detection/W1074.feature +139 -0
  41. data/features/message_detection/W1075.feature +86 -0
  42. data/features/message_detection/W1076.feature +66 -0
  43. data/features/message_detection/W1077.feature +105 -0
  44. data/features/message_detection/W9003.feature +4 -0
  45. data/lib/adlint/c/ctrlexpr.rb +3 -0
  46. data/lib/adlint/c/interp.rb +11 -5
  47. data/lib/adlint/c/lexer.rb +14 -3
  48. data/lib/adlint/c/message.rb +192 -0
  49. data/lib/adlint/c/parser.rb +19 -3
  50. data/lib/adlint/c/parser.y +18 -2
  51. data/lib/adlint/c/phase.rb +19 -6
  52. data/lib/adlint/c/syntax.rb +6 -0
  53. data/lib/adlint/c/type.rb +5 -1
  54. data/lib/adlint/cpp/constexpr.rb +3 -3
  55. data/lib/adlint/cpp/constexpr.y +3 -3
  56. data/lib/adlint/cpp/eval.rb +60 -86
  57. data/lib/adlint/cpp/lexer.rb +82 -28
  58. data/lib/adlint/cpp/macro.rb +64 -35
  59. data/lib/adlint/cpp/message.rb +137 -4
  60. data/lib/adlint/cpp/phase.rb +8 -0
  61. data/lib/adlint/cpp/syntax.rb +25 -0
  62. data/lib/adlint/lang.rb +2 -1
  63. data/lib/adlint/version.rb +2 -2
  64. data/share/doc/developers_guide_ja.html +3 -3
  65. data/share/doc/developers_guide_ja.texi +1 -1
  66. data/share/doc/users_guide_en.html +102 -85
  67. data/share/doc/users_guide_en.texi +85 -69
  68. data/share/doc/users_guide_ja.html +102 -94
  69. data/share/doc/users_guide_ja.texi +85 -77
  70. metadata +17 -2
data/ChangeLog CHANGED
@@ -1,3 +1,268 @@
1
+ Wed Jul 18 11:19:21 2012 Yutaka Yanoh <yanoh@users.sourceforge.net>
2
+
3
+ * release.ga : 1.16.0
4
+ - Add W0643 detection.
5
+ - Add W0646 detection.
6
+ - Add W0691 detection.
7
+ - Add W0692 detection.
8
+ - Add W0694 detection.
9
+ - Add W0805 detection.
10
+ - Add W0811 detection.
11
+ - Add W1040 detection.
12
+ - Add W1041 detection.
13
+ - Add W1046 detection.
14
+ - Add W1073 detection.
15
+ - Add W1074 detection.
16
+ - Add W1075 detection.
17
+ - Add W1076 detection.
18
+ - Add W1077 detection.
19
+ - Add extra sequence-point notification in the conditional-expression
20
+ in order not to over-warn about side-effects between
21
+ sequence-points.
22
+ - Add extra variable value reference notification not to discard
23
+ function return values in the 2nd and 3rd expressions of the
24
+ conditional-expression.
25
+ - Add missing notification of variable value reference in comparison
26
+ expressions.
27
+
28
+ Tue Jul 17 17:41:56 2012 Yutaka Yanoh <yanoh@users.sourceforge.net>
29
+
30
+ * release.rc : 1.15.1
31
+ - Revise W0692 message text.
32
+
33
+ Tue Jul 17 17:29:36 2012 Yutaka Yanoh <yanoh@users.sourceforge.net>
34
+
35
+ * lib/adlint/cpp/message.rb : Revise W0692 message text.
36
+ * etc/mesg.d/ja_JP/messages.yml : Ditto.
37
+ * etc/mesg.d/en_US/messages.yml : Ditto.
38
+ * share/doc/users_guide_ja.texi : Ditto.
39
+ * share/doc/users_guide_en.texi : Ditto.
40
+
41
+ Tue Jul 17 14:17:01 2012 Yutaka Yanoh <yanoh@users.sourceforge.net>
42
+
43
+ * release.rc : 1.15.0
44
+ - This is the initial release candidate for 1.16.0 GA release.
45
+ - Add W0643 detection.
46
+ - Add W0646 detection.
47
+ - Add W0691 detection.
48
+ - Add W0692 detection.
49
+ - Add W0694 detection.
50
+ - Add W0805 detection.
51
+ - Add W0811 detection.
52
+ - Add W1040 detection.
53
+ - Add W1041 detection.
54
+ - Add W1046 detection.
55
+ - Add W1073 detection.
56
+ - Add W1074 detection.
57
+ - Add W1075 detection.
58
+ - Add W1076 detection.
59
+ - Add W1077 detection.
60
+ - Add extra sequence-point notification in the conditional-expression
61
+ in order not to over-warn about side-effects between
62
+ sequence-points.
63
+ - Add extra variable value reference notification not to discard
64
+ function return values in the 2nd and 3rd expressions of the
65
+ conditional-expression.
66
+ - Add missing notification of variable value reference in comparison
67
+ expressions.
68
+
69
+ Wed Jul 11 14:38:16 2012 Yutaka Yanoh <yanoh@users.sourceforge.net>
70
+
71
+ * features/message_detection/W0643.feature : Add W0643 functional
72
+ specification.
73
+ * MANIFEST : Ditto.
74
+
75
+ * lib/adlint/cpp/lexer.rb : Revise text-line tokenizing behavior not to
76
+ discard `\' token which is not at the end of line.
77
+
78
+ * lib/adlint/cpp/macro.rb : Add notification about discarding unwanted
79
+ `\' token when the operand of `#' operator ends with standalone `\'
80
+ token.
81
+
82
+ * lib/adlint/cpp/message.rb : Add W0643 detection.
83
+ * lib/adlint/cpp/phase.rb : Ditto.
84
+
85
+ Wed Jul 11 13:20:45 2012 Yutaka Yanoh <yanoh@users.sourceforge.net>
86
+
87
+ * features/message_detection/W1046.feature : Add W1046 functional
88
+ specification.
89
+ * MANIFEST : Ditto.
90
+
91
+ * lib/adlint/cpp/lexer.rb : Add notification about illformed newline
92
+ escape.
93
+ * lib/adlint/cpp/eval.rb : Ditto.
94
+
95
+ * lib/adlint/cpp/message.rb : Add W1046 detection.
96
+ * lib/adlint/cpp/phase.rb : Ditto.
97
+
98
+ Wed Jul 11 11:16:55 2012 Yutaka Yanoh <yanoh@users.sourceforge.net>
99
+
100
+ * features/message_detection/W1041.feature : Add W1041 functional
101
+ specification.
102
+ * MANIFEST : Ditto.
103
+
104
+ * lib/adlint/cpp/syntax.rb : Add non-standard preprocessing directive
105
+ node to abstract-syntax-tree for cpp language.
106
+
107
+ * lib/adlint/cpp/lexer.rb : Add tokenizer method for non-standard
108
+ preprocessing directive.
109
+
110
+ * lib/adlint/cpp/eval.rb : Add non-standard preprocessing directive
111
+ evaluation to the preprocessor.
112
+
113
+ * etc/mesg.d/ja_JP/messages.yml : Revise W1041 message text.
114
+ * etc/mesg.d/en_US/messages.yml : Ditto.
115
+
116
+ * lib/adlint/cpp/message.rb : Add W1041 detection.
117
+ * lib/adlint/cpp/phase.rb : Ditto.
118
+
119
+ Tue Jul 10 18:03:03 2012 Yutaka Yanoh <yanoh@users.sourceforge.net>
120
+
121
+ * features/message_detection/W1040.feature : Add W1040 functional
122
+ specification.
123
+ * MANIFEST : Ditto.
124
+
125
+ * lib/adlint/cpp/lexer.rb : Revise tokenizing behavior in order to pass
126
+ unwanted extra tokens to the preprocessor.
127
+
128
+ * lib/adlint/cpp/eval.rb : Add notification about extra tokens after
129
+ preprocessing directives.
130
+
131
+ * lib/adlint/cpp/message.rb : Add W1040 detection.
132
+ * lib/adlint/cpp/phase.rb : Ditto.
133
+
134
+ Tue Jul 10 15:31:13 2012 Yutaka Yanoh <yanoh@users.sourceforge.net>
135
+
136
+ * features/message_detection/W0811.feature : Add W0811 functional
137
+ specification.
138
+ * MANIFEST : Ditto.
139
+
140
+ * lib/adlint/cpp/macro.rb : Add result tokens to notification of macro
141
+ replacements.
142
+
143
+ * lib/adlint/cpp/message.rb : Add W0811 detection.
144
+ * lib/adlint/cpp/phase.rb : Ditto.
145
+
146
+ Tue Jul 10 14:27:10 2012 Yutaka Yanoh <yanoh@users.sourceforge.net>
147
+
148
+ * features/message_detection/W0805.feature : Add W0805 functional
149
+ specification.
150
+ * MANIFEST : Ditto.
151
+
152
+ * lib/adlint/cpp/constexpr.y : Add argument existence to notification
153
+ of the illformed `defined' operator evaluation.
154
+ * lib/adlint/cpp/eval.rb : Ditto.
155
+
156
+ * lib/adlint/cpp/message.rb : Add W0805 detection.
157
+ * lib/adlint/cpp/phase.rb : Ditto.
158
+
159
+ Tue Jul 10 13:37:13 2012 Yutaka Yanoh <yanoh@users.sourceforge.net>
160
+
161
+ * features/message_detection/W0694.feature : Add W0694 functional
162
+ specification.
163
+ * MANIFEST : Ditto.
164
+
165
+ * lib/adlint/c/message.rb : Add W0694 detection.
166
+ * lib/adlint/c/phase.rb : Ditto.
167
+
168
+ Mon Jul 9 19:04:48 2012 Yutaka Yanoh <yanoh@users.sourceforge.net>
169
+
170
+ * features/message_detection/W0692.feature : Add W0692 functional
171
+ specification.
172
+ * MANIFEST : Ditto.
173
+
174
+ * lib/adlint/cpp/macro.rb : Add pre-parsed arguments to notification of
175
+ the function-like macro replacement.
176
+
177
+ * lib/adlint/cpp/message.rb : Add W0692 detection.
178
+ * lib/adlint/cpp/phase.rb : Ditto.
179
+
180
+ Mon Jul 9 17:45:09 2012 Yutaka Yanoh <yanoh@users.sourceforge.net>
181
+
182
+ * features/message_detection/W0691.feature : Add W0691 functional
183
+ specification.
184
+ * MANIFEST : Ditto.
185
+
186
+ * lib/adlint/cpp/macro.rb : Add notification about `##' operator
187
+ evaluation.
188
+
189
+ * lib/adlint/cpp/message.rb : Add W0691 detection.
190
+ * lib/adlint/cpp/phase.rb : Ditto.
191
+
192
+ Mon Jul 9 15:47:46 2012 Yutaka Yanoh <yanoh@users.sourceforge.net>
193
+
194
+ * features/message_detection/W0646.feature : Add W0646 functional
195
+ specification.
196
+ * MANIFEST : Ditto.
197
+
198
+ * lib/adlint/c/lexer.rb : Add notification about string-literal
199
+ concatenations.
200
+ * lib/adlint/c/parser.y : Ditto.
201
+
202
+ * lib/adlint/c/message.rb : Add W0646 detection.
203
+ * lib/adlint/c/phase.rb : Ditto.
204
+ * lib/adlint/lang.rb : Ditto.
205
+
206
+ Fri Jul 6 17:25:19 2012 Yutaka Yanoh <yanoh@users.sourceforge.net>
207
+
208
+ * features/message_detection/W1077.feature : Add W1077 functional
209
+ specification.
210
+ * MANIFEST : Ditto.
211
+
212
+ * lib/adlint/c/message.rb : Add W1077 detection.
213
+ * lib/adlint/c/phase.rb : Ditto.
214
+
215
+ Fri Jul 6 17:04:28 2012 Yutaka Yanoh <yanoh@users.sourceforge.net>
216
+
217
+ * features/message_detection/W1076.feature : Add W1076 functional
218
+ specification.
219
+ * MANIFEST : Ditto.
220
+
221
+ * lib/adlint/c/message.rb : Add W1076 detection.
222
+ * lib/adlint/c/phase.rb : Ditto.
223
+
224
+ Fri Jul 6 13:45:05 2012 Yutaka Yanoh <yanoh@users.sourceforge.net>
225
+
226
+ * features/message_detection/W1075.feature : Add W1075 functional
227
+ specification.
228
+ * MANIFEST : Ditto.
229
+
230
+ * lib/adlint/c/message.rb : Add W1075 detection.
231
+ * lib/adlint/c/phase.rb : Ditto.
232
+
233
+ Fri Jul 6 11:04:19 2012 Yutaka Yanoh <yanoh@users.sourceforge.net>
234
+
235
+ * features/message_detection/W1074.feature : Add W1074 functional
236
+ specification.
237
+ * MANIFEST : Ditto.
238
+
239
+ * lib/adlint/c/message.rb : Add W1074 detection.
240
+ * lib/adlint/c/phase.rb : Ditto.
241
+
242
+ Thu Jul 5 18:07:40 2012 Yutaka Yanoh <yanoh@users.sourceforge.net>
243
+
244
+ * features/message_detection/W1073.feature : Add W1073 functional
245
+ specification.
246
+ * MANIFEST : Ditto.
247
+
248
+ * lib/adlint/c/message.rb : Add W1073 detection.
249
+ * lib/adlint/c/phase.rb : Ditto.
250
+
251
+ Thu Jul 5 17:38:08 2012 Yutaka Yanoh <yanoh@users.sourceforge.net>
252
+
253
+ * lib/adlint/c/syntax.rb : Add extra sequence-point notification in the
254
+ conditional-expression in order not to over-warn about side-effects
255
+ between sequence-points.
256
+
257
+ * lib/adlint/c/interp.rb : Add extra variable value reference
258
+ notification not to discard function return values in the 2nd and 3rd
259
+ expressions of the conditional-expression.
260
+
261
+ Thu Jul 5 17:02:49 2012 Yutaka Yanoh <yanoh@users.sourceforge.net>
262
+
263
+ * lib/adlint/c/ctrlexpr.rb : Add missing notification of variable value
264
+ reference in comparison expressions.
265
+
1
266
  Wed Jul 4 10:42:39 2012 Yutaka Yanoh <yanoh@users.sourceforge.net>
2
267
 
3
268
  * release.ga : 1.14.0
data/MANIFEST CHANGED
@@ -39,11 +39,16 @@ features/message_detection/W0104.feature
39
39
  features/message_detection/W0109.feature
40
40
  features/message_detection/W0583.feature
41
41
  features/message_detection/W0606.feature
42
+ features/message_detection/W0643.feature
42
43
  features/message_detection/W0645.feature
44
+ features/message_detection/W0646.feature
43
45
  features/message_detection/W0687.feature
44
46
  features/message_detection/W0688.feature
45
47
  features/message_detection/W0689.feature
46
48
  features/message_detection/W0690.feature
49
+ features/message_detection/W0691.feature
50
+ features/message_detection/W0692.feature
51
+ features/message_detection/W0694.feature
47
52
  features/message_detection/W0697.feature
48
53
  features/message_detection/W0698.feature
49
54
  features/message_detection/W0699.feature
@@ -57,7 +62,12 @@ features/message_detection/W0732.feature
57
62
  features/message_detection/W0733.feature
58
63
  features/message_detection/W0734.feature
59
64
  features/message_detection/W0735.feature
65
+ features/message_detection/W0805.feature
66
+ features/message_detection/W0811.feature
60
67
  features/message_detection/W1031.feature
68
+ features/message_detection/W1040.feature
69
+ features/message_detection/W1041.feature
70
+ features/message_detection/W1046.feature
61
71
  features/message_detection/W1052.feature
62
72
  features/message_detection/W1066.feature
63
73
  features/message_detection/W1067.feature
@@ -65,6 +75,11 @@ features/message_detection/W1068.feature
65
75
  features/message_detection/W1069.feature
66
76
  features/message_detection/W1070.feature
67
77
  features/message_detection/W1072.feature
78
+ features/message_detection/W1073.feature
79
+ features/message_detection/W1074.feature
80
+ features/message_detection/W1075.feature
81
+ features/message_detection/W1076.feature
82
+ features/message_detection/W1077.feature
68
83
  features/message_detection/W9001.feature
69
84
  features/message_detection/W9003.feature
70
85
  features/step_definitions/message_detection_steps.rb
data/NEWS CHANGED
@@ -21,6 +21,36 @@
21
21
 
22
22
  ++
23
23
 
24
+ === \AdLint 1.16.0 is released (2012-07-18)
25
+
26
+ ==== Changes since the 1.14.0 release
27
+
28
+ * Add W0643 detection
29
+ * Add W0646 detection
30
+ * Add W0691 detection
31
+ * Add W0692 detection
32
+ * Add W0694 detection
33
+ * Add W0805 detection
34
+ * Add W0811 detection
35
+ * Add W1040 detection
36
+ * Add W1041 detection
37
+ * Add W1046 detection
38
+ * Add W1073 detection
39
+ * Add W1074 detection
40
+ * Add W1075 detection
41
+ * Add W1076 detection
42
+ * Add W1077 detection
43
+ * Add extra sequence-point notification in the conditional-expression in order
44
+ not to over-warn about side-effects between sequence-points
45
+ * Add extra variable value reference notification not to discard function
46
+ return values in the 2nd and 3rd expressions of the conditional-expression
47
+ * Add missing notification of variable value reference in comparison
48
+ expressions
49
+
50
+ See the file
51
+ {ChangeLog}[http://adlint.sourceforge.net/pmwiki/upload.d/Main/ChangeLog]
52
+ for more details.
53
+
24
54
  === \AdLint 1.14.0 is released (2012-07-04)
25
55
 
26
56
  ==== Changes since the 1.12.0 release
@@ -39,10 +69,6 @@
39
69
  * Add W0104, W0645, W0697, W0700, W1066, W1067, W1068, W1069, W1070 and W1072
40
70
  functional specifications
41
71
 
42
- See the file
43
- {ChangeLog}[http://adlint.sourceforge.net/pmwiki/upload.d/Main/ChangeLog]
44
- for more details.
45
-
46
72
  === \AdLint 1.12.0 is released (2012-06-20)
47
73
 
48
74
  ==== Changes since the 1.10.0 release
@@ -6,4 +6,4 @@
6
6
  :
7
7
  : MS-Windows BAT file generated by adlintize <%= AdLint::SHORT_VERSION %> at <%= Time.now %>
8
8
 
9
- adlint -t <%= traits_fpath.basename %> -o . -p <%= vpath.components.size %> -l <%= list_fpath.basename %>
9
+ adlint -v -t <%= traits_fpath.basename %> -o . -p <%= vpath.components.size %> -l <%= list_fpath.basename %>
@@ -36,7 +36,7 @@
36
36
  # X9999: "Your custom message for the fatal error of #9999."
37
37
  # E9999: "Your custom message for the error of #9999."
38
38
 
39
- version: "1.14.0"
39
+ version: "1.16.0"
40
40
 
41
41
  message_definition:
42
42
  X0001: "An unknown exception `%s' is found."
@@ -618,7 +618,7 @@ message_definition:
618
618
  W0689: "#line directive syntax doesn't match `#line integer constant \"string\"'."
619
619
  W0690: "No line number after #line directive."
620
620
  W0691: "The result of `##' operator is not valid preprocessing token."
621
- W0692: "A function-like macro doesn't given an actual argument."
621
+ W0692: "A function-like macro `%s' doesn't given an actual argument."
622
622
  W0693: "A function-like macro is called by actual argument which its definition is smaller."
623
623
  W0694: "'assert' macro is inhibited to call the function named `assert'. This result is undefined."
624
624
  W0695: "If #undef the 'assert' macro, and enable to call its name function, the result is undefined."
@@ -754,7 +754,7 @@ message_definition:
754
754
  W1037: "`%s' which has external coupling is declared more than one, this is incompatible."
755
755
  W1039: "`ll' is used in conversion specifier."
756
756
  W1040: "An unrecognizable string is described after preprocessing directive."
757
- W1041: "`#%s' is not official preprocessing directive of ISO C standards."
757
+ W1041: "`%s' is not official preprocessing directive of ISO C standards."
758
758
  W1042: "'sizeof' operator is using in preprocessing directive. This is the language extension."
759
759
  W1043: "`@ address' is not supported ISO C standards. It will be considered as language extension."
760
760
  W1044: "An expression which includes the statement is not supported ISO C standards. It will be considered as language extension."
@@ -36,7 +36,7 @@
36
36
  # X9999: "Your custom message for the fatal error of #9999."
37
37
  # E9999: "Your custom message for the error of #9999."
38
38
 
39
- version: "1.14.0"
39
+ version: "1.16.0"
40
40
 
41
41
  message_definition:
42
42
  X0001: "不明な例外条件 `%s' を検出しました。"
@@ -618,7 +618,7 @@ message_definition:
618
618
  W0689: "#line 指令の構文が `#line 汎整数定数 \"文字列\"' の形式と合っていません。"
619
619
  W0690: "#line 指令の後に行番号が記述されていません。"
620
620
  W0691: "`##' 演算子の結果が有効な前処理字句ではありません。"
621
- W0692: "関数形式マクロに実引数が与えられていません。"
621
+ W0692: "関数形式マクロ `%s' に実引数が与えられていません。"
622
622
  W0693: "関数形式マクロがその定義よりも少ない実引数で呼び出されています。"
623
623
  W0694: "`assert' という名称の関数を呼び出す目的で、assert マクロが抑制されています。未定義の結果になります。"
624
624
  W0695: "assert マクロを #undef してその名前の関数を呼び出しできるようにすると、未定義の結果になります。"
@@ -754,7 +754,7 @@ message_definition:
754
754
  W1037: "外部結合をもつ `%s' が、二つ以上宣言されていますが互換性がありません。"
755
755
  W1039: "変換指定子に `ll' が使われています。"
756
756
  W1040: "前処理指令の後に認識できない文字列が記述されています。"
757
- W1041: "`#%s' は、ISO C 標準規格の正式な前処理指令ではありません。"
757
+ W1041: "`%s' は、ISO C 標準規格の正式な前処理指令ではありません。"
758
758
  W1042: "前処理指令の中で sizeof 演算子を使っています。これは言語拡張です。"
759
759
  W1043: "`@ address' は、ISO C 標準規格ではサポートされていません。言語拡張と見なします。"
760
760
  W1044: "文を包含する式は ISO C 標準規格ではサポートされていません。言語拡張と見なします。"
@@ -15,6 +15,7 @@ Feature: W0001
15
15
  When I successfully run `adlint W0001.c` on noarch
16
16
  Then the output should exactly match with:
17
17
  | mesg | line | column |
18
+ | W1076 | 1 | 13 |
18
19
  | W0629 | 1 | 13 |
19
20
  | W0001 | 5 | 51 |
20
21
  | W0628 | 1 | 13 |
@@ -33,6 +34,7 @@ Feature: W0001
33
34
  When I successfully run `adlint W0001.c` on noarch
34
35
  Then the output should exactly match with:
35
36
  | mesg | line | column |
37
+ | W1076 | 1 | 13 |
36
38
  | W0100 | 5 | 9 |
37
39
  | W0629 | 1 | 13 |
38
40
  | W0001 | 6 | 41 |
@@ -30,6 +30,7 @@ Feature: W0007
30
30
  When I successfully run `adlint W0007.c` on noarch
31
31
  Then the output should exactly match with:
32
32
  | mesg | line | column |
33
+ | W1076 | 1 | 12 |
33
34
  | W0629 | 1 | 12 |
34
35
  | W0007 | 11 | 5 |
35
36
  | W0628 | 1 | 12 |
@@ -68,6 +69,7 @@ Feature: W0007
68
69
  Then the output should exactly match with:
69
70
  | mesg | line | column |
70
71
  | W0118 | 1 | 12 |
72
+ | W1076 | 3 | 12 |
71
73
  | W0629 | 3 | 12 |
72
74
  | W0007 | 17 | 5 |
73
75
  | W0532 | 14 | 13 |
@@ -101,6 +103,7 @@ Feature: W0007
101
103
  When I successfully run `adlint W0007.c` on noarch
102
104
  Then the output should exactly match with:
103
105
  | mesg | line | column |
106
+ | W1076 | 1 | 12 |
104
107
  | W0629 | 1 | 12 |
105
108
  | W0628 | 1 | 12 |
106
109
 
@@ -132,6 +135,7 @@ Feature: W0007
132
135
  When I successfully run `adlint W0007.c` on noarch
133
136
  Then the output should exactly match with:
134
137
  | mesg | line | column |
138
+ | W1076 | 1 | 12 |
135
139
  | W0629 | 1 | 12 |
136
140
  | W0628 | 1 | 12 |
137
141
 
@@ -159,6 +163,7 @@ Feature: W0007
159
163
  When I successfully run `adlint W0007.c` on noarch
160
164
  Then the output should exactly match with:
161
165
  | mesg | line | column |
166
+ | W1076 | 1 | 12 |
162
167
  | W0629 | 1 | 12 |
163
168
  | W0007 | 11 | 5 |
164
169
  | W0538 | 9 | 5 |
@@ -195,6 +200,7 @@ Feature: W0007
195
200
  Then the output should exactly match with:
196
201
  | mesg | line | column |
197
202
  | W0118 | 1 | 12 |
203
+ | W1076 | 3 | 12 |
198
204
  | W0629 | 3 | 12 |
199
205
  | W0007 | 17 | 5 |
200
206
  | W0532 | 14 | 13 |
@@ -229,6 +235,7 @@ Feature: W0007
229
235
  When I successfully run `adlint W0007.c` on noarch
230
236
  Then the output should exactly match with:
231
237
  | mesg | line | column |
238
+ | W1076 | 1 | 12 |
232
239
  | W0629 | 1 | 12 |
233
240
  | W0628 | 1 | 12 |
234
241
 
@@ -257,6 +264,7 @@ Feature: W0007
257
264
  When I successfully run `adlint W0007.c` on noarch
258
265
  Then the output should exactly match with:
259
266
  | mesg | line | column |
267
+ | W1076 | 1 | 12 |
260
268
  | W0629 | 1 | 12 |
261
269
  | W0538 | 9 | 5 |
262
270
  | W0628 | 1 | 12 |