This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] When NAMELIST input hits EOF, signal END, not an error
ClosedPublic

Authored by klausler on Oct 4 2022, 3:04 PM.

Details

Summary

NAMELIST input processing in the runtime support library treats an
end-of-file found while searching for the initial '&' character
as an error condition, but it really should be distinguishable.
Call SignalEnd() rather than SignalError().

Diff Detail

Event Timeline

klausler created this revision.Oct 4 2022, 3:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 4 2022, 3:04 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Oct 4 2022, 3:04 PM
This revision is now accepted and ready to land.Oct 5 2022, 12:08 AM