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 Digital Fortran, that includes many common
Fortran 77 extensions. See the Fortran Language Reference
Manual for differences in the dialects.
The /syntax
qualifier has settings as follows:
v
- Accept the extensions and interpretations
of Digital 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.