]> git.ipfire.org Git - thirdparty/gcc.git/commit
2019-05-01 Dominique d'Humieres <dominiq@gcc.gnu.org>
authordominiq <dominiq@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 May 2019 17:40:22 +0000 (17:40 +0000)
committerdominiq <dominiq@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 May 2019 17:40:22 +0000 (17:40 +0000)
commit0bc9082bd8eee4d9318d2a480eeb089265551c30
treeead616d93576d559efec6dca4437939b85eb2c28
parentcd0e3f58535e5a51a14de9989fd0210edbf903c6
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@270776 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/block_name_2.f90
gcc/testsuite/gfortran.dg/dec_type_print_3.f90
gcc/testsuite/gfortran.dg/pr60144.f90 [new file with mode: 0644]