[Bug fortran/38024] possibly syntax erros with Fortran 95
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Nov 5 18:59:00 GMT 2008
------- Comment #4 from burnus at gcc dot gnu dot org 2008-11-05 18:57 -------
(In reply to comment #2)
> Data is a fortran keyword.
Fortran has no reserved keyword system like C, you can happily define variables
with names such as PRINT, INTEGER, DO, etc. (Though I suggest not to name a
variable [e.g.] INTEGER as this can cause a lot of confusion.)
(In reply to comment #0)
> what is the syntax from? is it wrong usage of continuation '&'??
It is difficult to tell without more information. It depends
a) On the definition of DATA
b) It might depend on the next line
I think that your are missing a line such as
TYPE(my_type) DATA
But without having more information, it is impossible to tell whether that is
the problem or not.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38024
More information about the Gcc-bugs
mailing list