[all-commits] [llvm/llvm-project] f099f7: [flang] Handle pp-directives better in line contin...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Aug 26 10:51:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f099f76bb2a55bb6a90b30b81bae9f55ea37fcb5
      https://github.com/llvm/llvm-project/commit/f099f76bb2a55bb6a90b30b81bae9f55ea37fcb5
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-08-26 (Mon, 26 Aug 2024)

  Changed paths:
    M flang/lib/Parser/prescan.cpp
    M flang/test/Preprocessing/line-in-contin.F90

  Log Message:
  -----------
  [flang] Handle pp-directives better in line continuation (#105572)

The code for detecting and processing some preprocessing directives
(conditional compilation and #line) while skipping comments between one
source or compiler directive line and its continuations wasn't correctly
handling the case of such a directive following an explicit ampersand.

Fixes https://github.com/llvm/llvm-project/issues/100730 and
https://github.com/llvm/llvm-project/issues/100345.



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