[all-commits] [llvm/llvm-project] cbc5d4: [flang] Allow compiler directives in macros

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu May 18 11:04:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cbc5d42fcedace0b9dcfa2e2a91d41e3ce84908c
      https://github.com/llvm/llvm-project/commit/cbc5d42fcedace0b9dcfa2e2a91d41e3ce84908c
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-05-18 (Thu, 18 May 2023)

  Changed paths:
    M flang/include/flang/Parser/char-block.h
    M flang/lib/Parser/Fortran-parsers.cpp
    M flang/lib/Parser/prescan.cpp
    M flang/lib/Parser/prescan.h
    M flang/lib/Parser/token-sequence.cpp
    M flang/lib/Parser/token-sequence.h
    M flang/test/Parser/compiler-directives.f90

  Log Message:
  -----------
  [flang] Allow compiler directives in macros

Modify the prescanner to allow compiler directives to appear in
macro expansions, and adjust the parser to accept a semicolon
as a directive terminator.

Differential Revision: https://reviews.llvm.org/D150780




More information about the All-commits mailing list