[all-commits] [llvm/llvm-project] 259ce1: [flang] Accept a compiler directive sentinel after...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Jun 28 12:17:02 PDT 2024


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

  Changed paths:
    M flang/lib/Parser/prescan.cpp
    M flang/lib/Parser/prescan.h
    M flang/lib/Parser/token-sequence.cpp
    A flang/test/Preprocessing/sentinel-after-semi.F90

  Log Message:
  -----------
  [flang] Accept a compiler directive sentinel after a semicolon (#96966)

Don't treat !DIR$ or an active !$ACC, !$OMP, &c. as a comment when they
appear after a semicolon, but instead treat them as a compiler directive
sentinel.



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