diff options
author | Dominique d'Humieres <dominiq@gcc.gnu.org> | 2019-05-01 19:40:22 +0200 |
---|---|---|
committer | Dominique d'Humieres <dominiq@gcc.gnu.org> | 2019-05-01 19:40:22 +0200 |
commit | db9c37294126d7c918b0cc918bd73feade0599c2 (patch) | |
tree | ead616d93576d559efec6dca4437939b85eb2c28 /gcc/fortran/module.c | |
parent | d36405344205c58beb1947719345ec80fdc00a34 (diff) | |
download | gcc-db9c37294126d7c918b0cc918bd73feade0599c2.zip gcc-db9c37294126d7c918b0cc918bd73feade0599c2.tar.gz gcc-db9c37294126d7c918b0cc918bd73feade0599c2.tar.bz2 |
re PR fortran/60144 (Misleading error message when missing "then" after "if" and "else if")
2019-05-01 Dominique d'Humieres <dominiq@gcc.gnu.org>
PR fortran/60144
* match.c (gfc_match_parens): Change the location for missing ')'.
(gfc_match_if): Detect a missing '('. Remove the spurious named
constant error. Change the wording of some errors.
(gfc_match_else): Change the wording of an error.
(gfc_match_elseif): Detect a missing '('. Improve the matching
process to get a better syntax analysis.
PR fortran/60144
* gfortran.dg/block_name_2.f90: Adjust dg-error.
* gfortran.dg/dec_type_print_3.f90.f90: Likewise
* gfortran.dg/pr60144.f90: New test.
From-SVN: r270776
Diffstat (limited to 'gcc/fortran/module.c')
0 files changed, 0 insertions, 0 deletions