diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-07-07 00:12:25 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2005-07-07 00:12:25 +0200 |
commit | 3c2d01f108e3c527c4f37ef926fdd6ff90a93b01 (patch) | |
tree | 40fc84d8cf152cacee76d78d723bafad3157f094 /gcc/fortran/decl.c | |
parent | ef0087a7a0f1b38a0940085a95f22847d8a10a54 (diff) | |
download | gcc-3c2d01f108e3c527c4f37ef926fdd6ff90a93b01.zip gcc-3c2d01f108e3c527c4f37ef926fdd6ff90a93b01.tar.gz gcc-3c2d01f108e3c527c4f37ef926fdd6ff90a93b01.tar.bz2 |
decl.c (gfc_match_entry): Allow ENTRY without parentheses even in FUNCTIONs.
* decl.c (gfc_match_entry): Allow ENTRY without parentheses
even in FUNCTIONs.
* gfortran.fortran-torture/execute/entry_9.f90: New test.
From-SVN: r101672
Diffstat (limited to 'gcc/fortran/decl.c')
-rw-r--r-- | gcc/fortran/decl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/decl.c b/gcc/fortran/decl.c index c4cadc7..9852cb0 100644 --- a/gcc/fortran/decl.c +++ b/gcc/fortran/decl.c @@ -2395,7 +2395,7 @@ gfc_match_entry (void) else { /* An entry in a function. */ - m = gfc_match_formal_arglist (entry, 0, 0); + m = gfc_match_formal_arglist (entry, 0, 1); if (m != MATCH_YES) return MATCH_ERROR; |