Patchwork [fortran,doc,committed] Fix DATE_AND_TIME example

login
register
mail settings
Submitter Janne Blomqvist
Date Sept. 27, 2013, 7:49 p.m.
Message ID <CAO9iq9GP1DMaTYY=Zi6hHfG=CgWxOwJrCAJ9i4dwoS_ViX-LYw@mail.gmail.com>
Download mbox | patch
Permalink /patch/278673/
State New
Headers show

Comments

Janne Blomqvist - Sept. 27, 2013, 7:49 p.m.
Hello,

a format string in the example for DATE_AND_TIME contained a syntax
error. Committed as obvious.

2013-09-27  Janne Blomqvist  <jb@gcc.gnu.org>

    * intrinsic.texi (DATE_AND_TIME): Fix example.

Patch

Index: intrinsic.texi
===================================================================
--- intrinsic.texi      (revision 202983)
+++ intrinsic.texi      (working copy)
@@ -3461,7 +3461,7 @@  program test_time_and_date
     call date_and_time(TIME=time)
     call date_and_time(VALUES=values)
     print '(a,2x,a,2x,a)', date, time, zone
-    print '(8i5))', values
+    print '(8i5)', values
 end program test_time_and_date
 @end smallexample