[all-commits] [llvm/llvm-project] e286ec: [flang] Disable Fortran free form line continuatio...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Jun 12 10:11:57 PDT 2024


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

  Changed paths:
    M flang/include/flang/Parser/token-sequence.h
    M flang/lib/Parser/prescan.cpp
    M flang/lib/Parser/prescan.h
    M flang/lib/Parser/token-sequence.cpp
    M flang/test/Preprocessing/directive-contin-with-pp.F90

  Log Message:
  -----------
  [flang] Disable Fortran free form line continuation in non-source lin… (#94663)

…e produced by keyword macro replacement

When later initial keyword macro replacement will yield a line that is
not Fortran source, don't interpret "&" as a Fortran source line
continuation marker during tokenization of the line.

Fixes https://github.com/llvm/llvm-project/issues/82579.



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