public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/56520] New: Syntax error causes misleading message: "Invalid character in name"
@ 2013-03-04 13:44 arjen.markus at deltares dot nl
  2014-01-07 10:10 ` [Bug fortran/56520] " dominiq at lps dot ens.fr
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: arjen.markus at deltares dot nl @ 2013-03-04 13:44 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56520

             Bug #: 56520
           Summary: Syntax error causes misleading message: "Invalid
                    character in name"
    Classification: Unclassified
           Product: gcc
           Version: 4.7.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: arjen.markus@deltares.nl


An extra parenthesis at the end of a statement leads to the error message:
   Invalid character in name at (1)

The message has nothing to do with the actual error.

Here is a small program to reproduce it:

! misleading.f90 --
!     Syntax error is reported with a misleading message
!
program misleading
    implicit none

    real :: a, b, c

    a = 1.0
    b = 1.0

    c = exp(-a*b) )
end program misleading


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-07-16 19:05 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-04 13:44 [Bug fortran/56520] New: Syntax error causes misleading message: "Invalid character in name" arjen.markus at deltares dot nl
2014-01-07 10:10 ` [Bug fortran/56520] " dominiq at lps dot ens.fr
2015-07-01  9:56 ` dominiq at lps dot ens.fr
2015-07-01 17:54 ` kargl at gcc dot gnu.org
2015-07-01 17:55 ` kargl at gcc dot gnu.org
2015-07-02 17:29 ` kargl at gcc dot gnu.org
2015-07-07 17:23 ` casey.webster at gmail dot com
2015-07-07 18:30 ` sgk at troutmask dot apl.washington.edu
2015-07-07 19:10 ` casey.webster at gmail dot com
2015-07-07 19:33 ` sgk at troutmask dot apl.washington.edu
2015-07-08  2:21 ` casey.webster at gmail dot com
2015-07-16 18:45 ` kargl at gcc dot gnu.org
2015-07-16 19:05 ` kargl at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).