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
This commit is contained in:
parent
c708eef986
commit
520c987d6a
@ -1,3 +1,8 @@
|
||||
Wed Sep 9 23:00:48 1998 Nathan Sidwell <nathan@acm.org>
|
||||
|
||||
* c-lex.c (real_yylex): Don't warn about long long constants if
|
||||
we're allowing long long
|
||||
|
||||
Wed Sep 9 21:58:41 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
|
||||
|
||||
* except.h (current_function_eh_stub_label): Declare.
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user