re PR fortran/56520 (Syntax error causes misleading message: "Invalid character in...
authorSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 2 Jul 2015 17:29:04 +0000 (17:29 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 2 Jul 2015 17:29:04 +0000 (17:29 +0000)
commit83eb71f4e4a081e25a5e953acfc8757c5f4e85fb
treec1ce8d641c402a7a9ef7ff2f282e02c7943f8a26
parent70db5f0228d943a1deb37e0210ce6bbc0ac913c6
re PR fortran/56520 (Syntax error causes misleading message: "Invalid character in name")

2015-07-02  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/56520
* match.c (gfc_match_name): Special case unary minus and plus.

2015-07-02  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/56520
* gfortran.dg/pr56520.f90: New test.

From-SVN: r225349
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr56520.f90 [new file with mode: 0644]