We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26ac30b commit cd92c42Copy full SHA for cd92c42
flang/runtime/format-implementation.h
@@ -443,8 +443,9 @@ RT_API_ATTRS int FormatControl<CONTEXT>::CueUpNextDataEdit(
443
if (ch != 'P') { // 1PE5.2 - comma not required (C1302)
444
CharType peek{Capitalize(PeekNext())};
445
if (peek >= 'A' && peek <= 'Z') {
446
- if (ch == 'A' /* anticipate F'202X AT editing */ || ch == 'B' ||
447
- ch == 'D' || ch == 'E' || ch == 'R' || ch == 'S' || ch == 'T') {
+ if ((ch == 'A' && peek == 'T' /* anticipate F'202X AT editing */) ||
+ ch == 'B' || ch == 'D' || ch == 'E' || ch == 'R' || ch == 'S' ||
448
+ ch == 'T') {
449
// Assume a two-letter edit descriptor
450
next = peek;
451
++offset_;
0 commit comments