[all-commits] [llvm/llvm-project] 0525c2: [flang][preprocessing] Handle #include after & lin...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jun 3 12:18:51 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0525c201b657395bfdf27d2a473c4c0adf753a21
      https://github.com/llvm/llvm-project/commit/0525c201b657395bfdf27d2a473c4c0adf753a21
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M flang/lib/Parser/preprocessor.cpp
    M flang/lib/Parser/prescan.cpp
    M flang/lib/Parser/prescan.h
    A flang/test/Preprocessing/args.h
    A flang/test/Preprocessing/include-args.F90

  Log Message:
  -----------
  [flang][preprocessing] Handle #include after & line continuation (#93382)

Some applications like to use a CPP-style #include directive to pull in
a common list of arguments, dummy arguments, or COMMON block variables
after a free-form & line continuation marker. This works naturally with
compilers that run an actual cpp pass over the input before doing
anything specific to Fortran, but it's a case that I missed with this
integrated preprocessor.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list