aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplex.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2000-07-12 16:44:41 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2000-07-12 16:44:41 +0000
commite4a2ac1af7dce092e8b7d5ba0910d16e1a99164a (patch)
tree1e22fd6d25c31385a68ea480c4b65e5fb7c72830 /gcc/cpplex.c
parent20217ac1248ad3d2a3cc1ddd75b86468ee8fc97c (diff)
downloadgcc-e4a2ac1af7dce092e8b7d5ba0910d16e1a99164a.zip
gcc-e4a2ac1af7dce092e8b7d5ba0910d16e1a99164a.tar.gz
gcc-e4a2ac1af7dce092e8b7d5ba0910d16e1a99164a.tar.bz2
* cpplex.c (is_macro_disabled): Use CPP_TRADITIONAL.
From-SVN: r34988
Diffstat (limited to 'gcc/cpplex.c')
-rw-r--r--gcc/cpplex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cpplex.c b/gcc/cpplex.c
index 00e2ecb..58262ee 100644
--- a/gcc/cpplex.c
+++ b/gcc/cpplex.c
@@ -2069,7 +2069,7 @@ is_macro_disabled (pfile, expansion, token)
if (next->type != CPP_OPEN_PAREN)
{
_cpp_push_token (pfile, next);
- if (CPP_OPTION (pfile, warn_traditional))
+ if (CPP_TRADITIONAL (pfile))
cpp_warning (pfile,
"function macro %.*s must be used with arguments in traditional C",
(int) token->val.node->length, token->val.node->name);