[all-commits] [llvm/llvm-project] 1ada23: [flang][preprocessor] Fix handling of #line before...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Jul 30 09:43:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ada2352677cd271869660c99f1f18b2f556ac31
      https://github.com/llvm/llvm-project/commit/1ada2352677cd271869660c99f1f18b2f556ac31
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

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

  Log Message:
  -----------
  [flang][preprocessor] Fix handling of #line before free-form continua… (#100178)

…tion

See new test. A #line (or #) directive after a line ending with & and
before its continuation shouldn't elicit an error about mismatched
parentheses.

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



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