diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-17 08:28:44 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-17 08:28:44 +0000 |
commit | ce8423bcd6f9f7dcef132a0324f1f333ae616e99 (patch) | |
tree | 2383bd4f18957301a431290075c8bd08265b637c /gcc/c-lex.c | |
parent | 91017a7ccc37b4f4f400298fbfac44b3d63a8233 (diff) | |
download | gcc-ce8423bcd6f9f7dcef132a0324f1f333ae616e99.tar.gz |
* c-lex.c (yylex): Don't pedwarn for hexadecimal floating point
constants in C99 mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35075 138bc75d-0d04-0410-961f-82ee72b054a4
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 f47ddac4440..fe1d03f4420 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -1568,7 +1568,7 @@ yylex () { if (c == '.') { - if (base == 16 && pedantic) + if (base == 16 && pedantic && !flag_isoc99) pedwarn ("floating constant may not be in radix 16"); if (floatflag == TOO_MANY_POINTS) /* We have already emitted an error. Don't need another. */ |