[flang] Warn about more continuation lines than the standard permits
authorPeter Klausler <pklausler@nvidia.com>
Fri, 4 Nov 2022 23:39:52 +0000 (16:39 -0700)
committerPeter Klausler <pklausler@nvidia.com>
Sat, 3 Dec 2022 01:07:11 +0000 (17:07 -0800)
commit8a1f12c6fbe9da8dcb6102d3b9b695cfcae9dbb4
treef1406034301d2f2e5f5e46aa79dd9c85b347531a
parent0041382198f20fe51d8574363bc91c317c7f3c71
[flang] Warn about more continuation lines than the standard permits

f18 doesn't have any limit on continuation lines in fixed or free form
source (other than available memory), but the standard does.  Emit
a portability warning when it is exceeded.

Differential Revision: https://reviews.llvm.org/D139055
flang/docs/Extensions.md
flang/lib/Parser/prescan.cpp
flang/lib/Parser/prescan.h
flang/test/Parser/excessive-continuations.f90 [new file with mode: 0644]