[flang-commits] [flang] [llvm] [flang] [flang-rt] Implement AT edit descriptor for Fortran 202X with appropriate handling and tests (PR #189157)
Eugene Epshteyn via flang-commits
flang-commits at lists.llvm.org
Fri Apr 24 06:33:35 PDT 2026
================
@@ -718,6 +722,19 @@ template <typename CHAR> bool FormatValidator<CHAR>::Check() {
NextToken();
check_w();
break;
+ case TokenKind::AT:
+ // F2023 data-edit-desc -> AT (no w allowed)
+ hasDataEditDesc = true;
+ check_r();
+ NextToken();
+ if (token_.kind() == TokenKind::UnsignedInteger) {
+ ReportError("'AT' edit descriptor does not accept a width value");
+ NextToken();
----------------
eugeneepshteyn wrote:
I see that the test was added. Thanks!
https://github.com/llvm/llvm-project/pull/189157
More information about the flang-commits
mailing list