[all-commits] [llvm/llvm-project] a5f5d7: [flang][runtime] When NAMELIST input hits EOF, sig...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Oct 6 11:32:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5f5d72f6c01eb02549af636939c3831d038359e
      https://github.com/llvm/llvm-project/commit/a5f5d72f6c01eb02549af636939c3831d038359e
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

  Changed paths:
    M flang/runtime/namelist.cpp

  Log Message:
  -----------
  [flang][runtime] When NAMELIST input hits EOF, signal END, not an error

NAMELIST input processing in the runtime support library treats an
end-of-file found while searching for the initial '&' character
as an error condition, but it really should be distinguishable.
Call SignalEnd() rather than SignalError().

Differential Revision: https://reviews.llvm.org/D135212




More information about the All-commits mailing list