diff options
author | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-05-30 16:44:42 +0000 |
---|---|---|
committer | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-05-30 16:44:42 +0000 |
commit | d55c3689f153840e859fa335cae598b5e0038e95 (patch) | |
tree | f2daa2c623d62146b089145517ae14d1654e6374 /gcc/fortran | |
parent | 91c4f7e4dfdf6f9e7bdbaea597a6411c3538d7a4 (diff) | |
download | gcc-d55c3689f153840e859fa335cae598b5e0038e95.tar.gz |
2012-05-30 Tobias Burnus <burnus@net-b.de>
PR c/53502
* decl.c (match_attr_spec): Remove "typedef".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188024 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran')
-rw-r--r-- | gcc/fortran/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/fortran/decl.c | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index e8f5c53f0e3..e2b1ec3533e 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,5 +1,10 @@ 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> + * decl.c: Fix comment typos. * expr.c: Ditto. * frontend-passes.c: Ditto. diff --git a/gcc/fortran/decl.c b/gcc/fortran/decl.c index 58263aa24c3..a760331eeba 100644 --- a/gcc/fortran/decl.c +++ b/gcc/fortran/decl.c @@ -3264,7 +3264,7 @@ static match match_attr_spec (void) { /* Modifiers that can exist in a type statement. */ - typedef enum + enum { GFC_DECL_BEGIN = 0, DECL_ALLOCATABLE = GFC_DECL_BEGIN, DECL_DIMENSION, DECL_EXTERNAL, 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_IS_BIND_C, DECL_CODIMENSION, DECL_ASYNCHRONOUS, DECL_CONTIGUOUS, DECL_NONE, GFC_DECL_END /* Sentinel */ - } - decl_types; + }; /* GFC_DECL_END is the sentinel, index starts at 0. */ #define NUM_DECL GFC_DECL_END |