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 6e0a203 commit 4fcefbdCopy full SHA for 4fcefbd
flang/runtime/io-stmt.cpp
@@ -698,9 +698,6 @@ void FormattedIoStatementState<Direction::Input>::GotChar(int n) {
698
699
bool ListDirectedStatementState<Direction::Output>::EmitLeadingSpaceOrAdvance(
700
IoStatementState &io, std::size_t length, bool isCharacter) {
701
- if (length == 0) {
702
- return true;
703
- }
704
const ConnectionState &connection{io.GetConnectionState()};
705
int space{connection.positionInRecord == 0 ||
706
!(isCharacter && lastWasUndelimitedCharacter())};
0 commit comments