This is an archive of the discontinued LLVM Phabricator instance.

[flang] Modify an IO format error message
ClosedPublic

Authored by vdonaldson on Jan 4 2022, 1:16 PM.

Details

Reviewers
klausler
Summary

F18 constraint C1308 is:

For the G edit descriptor, e shall not be specified if w is zero.

For an edit descriptor such as 'G0.2E4', change the error message from:

error: Unexpected 'e' in 'G0' edit descriptor

To:

error: A 'G0' edit descriptor must not have an 'e' value

Diff Detail

Event Timeline

vdonaldson created this revision.Jan 4 2022, 1:16 PM
vdonaldson requested review of this revision.Jan 4 2022, 1:16 PM
vdonaldson added a reviewer: klausler.
klausler accepted this revision.Jan 4 2022, 1:19 PM
This revision is now accepted and ready to land.Jan 4 2022, 1:19 PM