[all-commits] [llvm/llvm-project] f3991e: [flang] Allow macro replacement in numeric kind su...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Mar 26 12:08:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3991e10bb0aa8cd6a72e9ebd8112b2030c67f13
      https://github.com/llvm/llvm-project/commit/f3991e10bb0aa8cd6a72e9ebd8112b2030c67f13
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M flang/lib/Parser/prescan.cpp
    M flang/lib/Parser/prescan.h
    A flang/test/Preprocessing/kind-suffix.F90

  Log Message:
  -----------
  [flang] Allow macro replacement in numeric kind suffix (#132120)

When a numeric value has a kind suffix containing an identifier, allow
macro replacement for that identifier by treating it as its own token.

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



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