[flang] Relax the implementation of constraint C1302. (flang-compiler/f18#805)
authorvdonaldson <37090318+vdonaldson@users.noreply.github.com>
Tue, 5 Nov 2019 18:11:36 +0000 (10:11 -0800)
committerGitHub <noreply@github.com>
Tue, 5 Nov 2019 18:11:36 +0000 (10:11 -0800)
commit65791b2d0bede3c775b55177ed0a291f459d8f1c
treeb2338f1f61ada9d8d955c971767bb76958a84b4e
parent9392f2a329e2abac8da0e59b73c82153679de503
[flang] Relax the implementation of constraint C1302. (flang-compiler/f18#805)

* Relax the implementation of constraint C1302.

When a list of format items can be unambiguously partitioned into individual items even though one or more otherwise required comma separators are omitted, generate a warning rather than an error.

Fixes flang-compiler/f18#703

Original-commit: flang-compiler/f18@79c0731137e1092c26c4dec7c12113c52a72effd
Reviewed-on: https://github.com/flang-compiler/f18/pull/805
flang/lib/common/format.h
flang/test/semantics/io07.f90
flang/test/semantics/io08.f90
flang/test/semantics/io10.f90