`ModFileReader::Say()` flags all messages as errors, but Flang was mistakenly suppressing two errors when the `-w` flag was used, as they were incorrectly conditioned to warning suppression. This fix ensures that errors are reported regardless of the `-w` flag. This commit also replaces two uses of `_warn_en_US` with `_err_en_US` to prevent potential confusion in the future.
6 lines
150 B
Modula-2
6 lines
150 B
Modula-2
!mod$ v1 sum:invalid_checksum
|
|
module modfile70
|
|
! This module file intentionally contains an invalid checksum to trigger a
|
|
! semantic error
|
|
end
|