diff options
author | Nathan Sidwell <nathan@acm.org> | 1998-09-09 22:02:02 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-09-09 16:02:02 -0600 |
commit | 520c987d6a324cc51d09e3cda47afbf7f51a5ee6 (patch) | |
tree | 223dac1a5beb8b3cf63781eaa891f94fb394973b /gcc/c-lex.c | |
parent | c708eef9868f06b0e70b98da9c440244b23dfb7b (diff) | |
download | gcc-520c987d6a324cc51d09e3cda47afbf7f51a5ee6.zip gcc-520c987d6a324cc51d09e3cda47afbf7f51a5ee6.tar.gz gcc-520c987d6a324cc51d09e3cda47afbf7f51a5ee6.tar.bz2 |
c-lex.c (real_yylex): Don't warn about long long constants if we're allowing long long
* c-lex.c (real_yylex): Don't warn about long long constants if
we're allowing long long
From-SVN: r22370
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r-- | gcc/c-lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c index 2f22528..a90d3b5 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -1646,7 +1646,7 @@ yylex () { if (spec_long_long) error ("three `l's in integer constant"); - else if (pedantic) + else if (pedantic && ! in_system_header && warn_long_long) pedwarn ("ANSI C forbids long long integer constants"); spec_long_long = 1; } |