The /syntax
qualifier directs KAP to check for
compliance with certain syntactic rules. Using a dialect qualifier
can prevent a construct being translated differently than expected
by a user who is familiar with a different implementation of
Fortran. The default is to accept the superset of the ANSI Fortran
77 standard defined by Fortran, that includes many common Fortran 77
extensions. See the Fortran Language Reference Manual for
differences in the dialects.
The /syntax
qualifier has the following settings:
v
- Accept the extensions and interpretations
of Fortran.
a
- Check for strict compliance with the
ANSI Fortran standard. Warning and error messages are issued
for syntax that does not conform to the standard. With
/syntax=a
, syntax errors are issued for array references
without subscripts.
kf90
- Check for strict compliance with
the ANSI Fortran standard. With /syntax=f90
,
failures occur when you mix logical and integer variables.
See the description of /intlog
in Section 5.3.9.
Copyright © Digital Equipment Corporation. 1999. All Rights Reserved.