[PATCH,gfortran] Fix for PR 17941
Tobias Schlüter
tobias.schlueter@physik.uni-muenchen.de
Sat Jan 15 18:05:00 GMT 2005
Paul Brook wrote:
> This is supposed to be an error. Your code is illegal in free-form source, and
> already accepted in fixed-form.
>
> Section 4.3.1.3 "Complex type" defines a complex literal constant as a pair of
> signed real literal constants (plus "(,)" separators).
> Section 3.2 "Low-level syntax" says that a real literal constant is a single
> lexical token.
> Section 3.3.1 "Free source form" says that whitespace may not occur within a
> lexical token.
I believe that your analysis is not correct. A signed-real-literal-constant
is not a real-literal-constant and it's not a literal token either. Therefore
spaces are allowed.
- Tobi
More information about the Fortran
mailing list