------- Comment #3 from manu at gcc dot gnu dot org  2009-08-04 23:32 -------
The C parser points to the start of the second declaration, which is not very
good either.

pr36888.c:5:1: error: two or more data types in declaration specifiers

In the c-parser, we can probably special case the struct/union case. It seems a
waste of time to check for keywords after the closing brace of a struct/union.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-08-04 23:32:42
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36888

Reply via email to