https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84389

--- Comment #3 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Thu, Feb 15, 2018 at 09:04:24PM +0000, fortranfan at outlook dot com wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84389
> 
> --- Comment #2 from Vipul Parekh <fortranfan at outlook dot com> ---
> Thank for your response.
> 
> Per section 1.4.1 in 10-007r1 toward Fortran 2008 on syntax rules toward the
> BNF convention in the document, line 16 says [] encloses an optional item.
> 
> R1303 format-items          is format-item [ [ , ] format-item ]
> 
> then suggests the comma in the format item is optional and the format in the
> first post should work as shown.
> 

Ah, indeed!  You are correct.  I simply missed the enclosing [ ]
in looking through all of the ENBDF rules.

Reply via email to