re PR c/53502 (Bootstrap broken with --disable-build-poststage1-with-cxx)

2012-05-30  Tobias Burnus  <burnus@net-b.de>

        PR c/53502
        * decl.c (match_attr_spec): Remove "typedef".

From-SVN: r188024
This commit is contained in:
Tobias Burnus 2012-05-30 18:44:42 +02:00 committed by Tobias Burnus
parent 974485d7ef
commit d75d954623
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2012-05-30 Tobias Burnus <burnus@net-b.de>
PR c/53502
* decl.c (match_attr_spec): Remove "typedef".
2012-05-30 Tobias Burnus <burnus@net-b.de> 2012-05-30 Tobias Burnus <burnus@net-b.de>
* decl.c: Fix comment typos. * decl.c: Fix comment typos.

View File

@ -3264,7 +3264,7 @@ static match
match_attr_spec (void) match_attr_spec (void)
{ {
/* Modifiers that can exist in a type statement. */ /* Modifiers that can exist in a type statement. */
typedef enum enum
{ GFC_DECL_BEGIN = 0, { GFC_DECL_BEGIN = 0,
DECL_ALLOCATABLE = GFC_DECL_BEGIN, DECL_DIMENSION, DECL_EXTERNAL, DECL_ALLOCATABLE = GFC_DECL_BEGIN, DECL_DIMENSION, DECL_EXTERNAL,
DECL_IN, DECL_OUT, DECL_INOUT, DECL_INTRINSIC, DECL_OPTIONAL, DECL_IN, DECL_OUT, DECL_INOUT, DECL_INTRINSIC, DECL_OPTIONAL,
@ -3272,8 +3272,7 @@ match_attr_spec (void)
DECL_PUBLIC, DECL_SAVE, DECL_TARGET, DECL_VALUE, DECL_VOLATILE, DECL_PUBLIC, DECL_SAVE, DECL_TARGET, DECL_VALUE, DECL_VOLATILE,
DECL_IS_BIND_C, DECL_CODIMENSION, DECL_ASYNCHRONOUS, DECL_CONTIGUOUS, DECL_IS_BIND_C, DECL_CODIMENSION, DECL_ASYNCHRONOUS, DECL_CONTIGUOUS,
DECL_NONE, GFC_DECL_END /* Sentinel */ DECL_NONE, GFC_DECL_END /* Sentinel */
} };
decl_types;
/* GFC_DECL_END is the sentinel, index starts at 0. */ /* GFC_DECL_END is the sentinel, index starts at 0. */
#define NUM_DECL GFC_DECL_END #define NUM_DECL GFC_DECL_END