aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cpplex.c')
-rw-r--r--gcc/cpplex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cpplex.c b/gcc/cpplex.c
index b35f298..1dd3e9a 100644
--- a/gcc/cpplex.c
+++ b/gcc/cpplex.c
@@ -1699,9 +1699,9 @@ maybe_macroexpand (pfile, written)
CPP_PUTC (pfile, ' ');
/* K+R treated this as a hard error. */
- if (CPP_OPTION (pfile, warn_traditional))
+ if (CPP_WTRADITIONAL (pfile))
cpp_warning (pfile,
- "traditional C rejects function macro %s in non-function context",
+ "function macro %s must be used with arguments in traditional C",
hp->name);
return 0;
}