aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/preprocessor
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-09-30 18:24:14 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-10-01 00:56:00 +0200
commit205d00bae1665d6d21c72e99751776e5cb6f0ee3 (patch)
tree2e851ec5252e50b903530d3ec2a2c8331a1a0155 /validation/preprocessor
parentd466a02815b8109ea007736590bdd97f5d0aeb2f (diff)
downloadsparse-dev-205d00bae1665d6d21c72e99751776e5cb6f0ee3.tar.gz
make 'directive in argument list' clearer
The warning 'directive in argument list' is about macros' arguments, not functions' ones. Make this clearer in the warning message. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/preprocessor')
-rw-r--r--validation/preprocessor/preprocessor22.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/validation/preprocessor/preprocessor22.c b/validation/preprocessor/preprocessor22.c
index af5bcb37..fb28daaa 100644
--- a/validation/preprocessor/preprocessor22.c
+++ b/validation/preprocessor/preprocessor22.c
@@ -20,10 +20,10 @@ define_struct(a, {
* check-command: sparse -E $file
*
* check-error-start
-preprocessor/preprocessor22.c:6:1: error: directive in argument list
-preprocessor/preprocessor22.c:8:1: error: directive in argument list
-preprocessor/preprocessor22.c:10:1: error: directive in argument list
-preprocessor/preprocessor22.c:12:1: error: directive in argument list
+preprocessor/preprocessor22.c:6:1: error: directive in macro's argument list
+preprocessor/preprocessor22.c:8:1: error: directive in macro's argument list
+preprocessor/preprocessor22.c:10:1: error: directive in macro's argument list
+preprocessor/preprocessor22.c:12:1: error: directive in macro's argument list
* check-error-end
*
* check-output-start