public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/2191
@ 2001-06-04 12:16 jsm28
  0 siblings, 0 replies; only message in thread
From: jsm28 @ 2001-06-04 12:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c/2191; it has been noted by GNATS.

From: jsm28@gcc.gnu.org
To: Mika.Reunanen@helsinki.fi, gcc-gnats@gcc.gnu.org, jsm28@cam.ac.uk,
  nobody@gcc.gnu.org
Cc:  
Subject: Re: c/2191
Date: 4 Jun 2001 19:06:36 -0000

 Synopsis: GCC 2.95.2 gives misleading "syntax error" with headerfile typedef, when error is elsewhere
 
 State-Changed-From-To: open->closed
 State-Changed-By: jsm28
 State-Changed-When: Mon Jun  4 12:06:36 2001
 State-Changed-Why:
     GCC is correct; after preprocessing, the next token after
     yours is in the header, which examining preprocessed source
     will show you clearly.  As an LALR(1) parser it detects the
     error as soon as possible.  The behavior in this case
     is stated by the C standard to be undefined, and the
     compiler is not required to diagnose it.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2191&database=gcc


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-06-04 12:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-04 12:16 c/2191 jsm28

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).