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

Manfred Schwarb <manfred99 at gmx dot ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manfred99 at gmx dot ch

--- Comment #41 from Manfred Schwarb <manfred99 at gmx dot ch> ---
Jerry, are you really sure about this?

      character(80) buffer,a
      buffer="33;44"
      read(buffer,*,decimal="point") a
      print*,a
      end

gives (with GCC 15):
At line 3 of file c.f
Fortran runtime error: Semicolon not allowed as separator with DECIMAL='point'

I would have expected the print-out "33;44".


I would have expected, that the semicolon is treated as a plain character
without any special meaning in case of decimal="point".
I only glimpsed over the cited standards sniplets in this thread and
can't be sure, therefore, but I did not find anything forbidding the use of
semicolons as plain characters.
It always talks about semicolons as separators in case of decimal="comma"
(always conditional on decimal="comma"),
but I don't want to use it as separator, but as a plain character.

I think that a semicolon has/should have only separator properties
*in case of decimal="comma"*, and only then.

Reply via email to