[all-commits] [llvm/llvm-project] 8b512e: [flang][preprocessor] Support \ as line continuati...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Apr 24 15:47:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b512e525d3adc56da626a6e4f16c3b2f602aade
      https://github.com/llvm/llvm-project/commit/8b512e525d3adc56da626a6e4f16c3b2f602aade
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-04-24 (Wed, 24 Apr 2024)

  Changed paths:
    M flang/docs/Preprocessing.md
    M flang/include/flang/Parser/preprocessor.h
    M flang/lib/Parser/prescan.cpp
    M flang/lib/Parser/prescan.h
    A flang/test/Preprocessing/backslash-contin1.F90

  Log Message:
  -----------
  [flang][preprocessor] Support \ as line continuation (#89970)

When prescanning a Fortran source file with preprocessing enabled in
free source form, interpret a line-ending backslash as a source line
continuation marker as a C preprocessor would. This usage isn't
completely portable, but it is supported by GNU Fortran and appears in
the source for FPM package manager.



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