summaryrefslogtreecommitdiff
path: root/gcc/cpplex.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-12 16:44:41 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-12 16:44:41 +0000
commit8b9e87385c8564aea361bdd64517e4230ec8bfb2 (patch)
tree1e22fd6d25c31385a68ea480c4b65e5fb7c72830 /gcc/cpplex.c
parent5dd13b1da5ba22d7a9319632e2b387c07d678e90 (diff)
downloadgcc-8b9e87385c8564aea361bdd64517e4230ec8bfb2.tar.gz
* cpplex.c (is_macro_disabled): Use CPP_TRADITIONAL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34988 138bc75d-0d04-0410-961f-82ee72b054a4
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 00e2ecbd963..58262ee2853 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);