[flang][preprocessor] Handle compiler directives with continuations a… (#70128)
commitf706411f71a29bc8bb6c04b21958fa3a0d17fd99
authorPeter Klausler <35819229+klausler@users.noreply.github.com>
Tue, 31 Oct 2023 18:38:25 +0000 (31 11:38 -0700)
committerGitHub <noreply@github.com>
Tue, 31 Oct 2023 18:38:25 +0000 (31 11:38 -0700)
treeee2302362e58a9707e6b6690d9706fe85e3f1fae
parentad810519d9124c78589f939abab427a02db1ccc0
[flang][preprocessor] Handle compiler directives with continuations a… (#70128)

…fter macro expansion

When compiler directives (!$omp) and/or their continuations (!$omp &)
are produced by macro expansion, handle those continuations. Also allow
a continuation marker (&) to appear in a macro actual argument.
flang/docs/Preprocessing.md
flang/lib/Parser/prescan.cpp
flang/lib/Parser/prescan.h
flang/test/Preprocessing/directive-contin-with-pp.F90 [new file with mode: 0644]
flang/test/Preprocessing/pp130.F90