> From: Curt Arnold [mailto:carnold@...]
> > Which means it recognizes only 'INCLUDE', when F90/95 allows 'include'.
> > Shall it be changed to have a BranchState between 'I' and 'i'?
> > Or shall there be a separate Fortran90Parser, used by a separate
> > df90? Curt? --DD
> I haven't looked at the different in the include statements between
> f77, f90 and f95. Does "f90" accept "INCLUDE", "include" and "iNcLudE"
> or just the upper and lower case forms. I think the keeping a unified
> FORTRAN scanner is preferable, but then I haven't looked at the
> differences in the specs.
I was lend a Fortran90/95 book, and it says the Fortran character set is
composed 86 (ASCII) symbols only (A-Z, a-z, 0-9, _, + - * / **, and finally
( ) . = , ' $ : ! " % & ; < > ? and blank)
Then it goes on to say all upper and lowercase letters of the alphabet are
equivalent, and that thus Fortran is case-insensitive.
The author uses the convention to use uppercase keywords, so would use
INCLUDE, but the F90 files I'm looking at use lowercase keywords,
Including lowercase 'include' keyworks. --DD