This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/24976] simple hexadecimal number parsed as C99 hex float
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Nov 2005 17:28:33 -0000
- Subject: [Bug preprocessor/24976] simple hexadecimal number parsed as C99 hex float
- References: <bug-24976-6650@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-21 17:28 -------
(In reply to comment #0)
> but many users are going to think of this behavior as
> a parser bug.
This is more of a tokenizer error rather than a parser error.
Anyways 2.95.3 gives:
t.c:1: missing white space after number `0xe'
I wonder if we should accept this code for -std=c89.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |preprocessor
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24976