public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* C99 parsing error?
@ 2003-05-18  8:52 Jamie Lokier
  2003-05-18 10:27 ` Neil Booth
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jamie Lokier @ 2003-05-18  8:52 UTC (permalink / raw)
  To: gcc

Is it really not permitted to write this in C99?:

	while (--length >= 0)
	  {
	  loop:
	    int byte = *data++;

GCC 3.2.2 reports: parse error before "int"
If I replace "loop:" with "loop:;", it's fine.
Perhaps GCC is correct to reject this, but it is surprising.

-- Jamie

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-05-18 14:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-18  8:52 C99 parsing error? Jamie Lokier
2003-05-18 10:27 ` Neil Booth
2003-05-18 14:19 ` Joseph S. Myers
2003-05-18 15:22 ` Falk Hueffner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).