[all-commits] [llvm/llvm-project] 750c8e: [flang][runtime] Handle incomplete NAMELIST input ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Oct 16 13:23:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 750c8e39de3c132f4600b0351cb743abbfd14fed
      https://github.com/llvm/llvm-project/commit/750c8e39de3c132f4600b0351cb743abbfd14fed
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2023-10-16 (Mon, 16 Oct 2023)

  Changed paths:
    M flang/runtime/descriptor-io.h
    M flang/runtime/io-stmt.h
    M flang/runtime/namelist.cpp

  Log Message:
  -----------
  [flang][runtime] Handle incomplete NAMELIST input derived type compon… (#66831)

…ent list

When a derived type value appears in NAMELIST input, its components'
values appear in sequence. This sequence can be truncated by a NAME=
that begins the next NAMELIST input item, or by the terminal '/' that
ends the NAMELIST group. Extend the mechanism already in place for
truncated array item lists in NAMELIST input so that it also applies to
derived type component sequences, and rename things appropriately.




More information about the All-commits mailing list