www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/05/15/14:59:50

Date: Mon, 15 May 95 10:59 MDT
From: mat AT ardi DOT com (Mat Hostetter)
To: djgpp mailing list <djgpp AT sun DOT soe DOT clarkson DOT edu>
Subject: Re: BUG or what?! -- No
References: <2FB7A140 AT msmailer>

>>>>> "Paul" == Paul Koning 1695 <pkoning AT chipcom DOT com> writes:

    Paul> I know C is a screwed up language, but this I just can't
    Paul> believe.  Where does it say that?  And if it does say that,
    Paul> does anyone know why?  I can't think of any reason in
    Paul> parsing or anywhere else that would justify such a
    Paul> braindamaged rule.

1e-5

is a legal number (the e exponentiates).  C tokenizing rules cause
similar-looking expressions involving hex constants to get tokenized
as a single token.  Yes, it's brain-damaged, but it's not as bizarre
as you might think.

-Mat

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019