This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: preprocessor/8449: Ellipsis in 3...5 not recognized properly
- From: neil at gcc dot gnu dot org
- To: ehrhardt at mathematik dot uni-ulm dot de, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 7 Nov 2002 11:38:24 -0000
- Subject: Re: preprocessor/8449: Ellipsis in 3...5 not recognized properly
- Reply-to: neil at gcc dot gnu dot org, ehrhardt at mathematik dot uni-ulm dot de, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: Ellipsis in 3...5 not recognized properly
State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Thu Nov 7 03:38:23 2002
State-Changed-Why:
Not a bug. 0...1 is a single token, a preprocessing number. When the compiler tries to interpret the number, it complains about the excess '.' like you saw, which is correct.
You need to add a space to break it into two tokens, like you actually did in your report.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8449