[all-commits] [llvm/llvm-project] dd3214: [flang] Fix handling of identifier in column 1 of ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Jul 3 14:33:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd3214d5a6b55c7ff515b1c795100ed627621dd4
      https://github.com/llvm/llvm-project/commit/dd3214d5a6b55c7ff515b1c795100ed627621dd4
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-07-03 (Thu, 03 Jul 2025)

  Changed paths:
    M flang/lib/Parser/prescan.cpp
    M flang/lib/Parser/prescan.h
    A flang/test/Preprocessing/bug1077.F90
    M flang/test/Preprocessing/pp111.F90
    M flang/test/Preprocessing/pp112.F90
    M flang/test/Preprocessing/pp115.F90
    M flang/test/Preprocessing/pp116.F90

  Log Message:
  -----------
  [flang] Fix handling of identifier in column 1 of free form continuat… (#146430)

…ion line

An obsolete flag ("insertASpace_") is being used to signal some cases in
the prescanner's implementation of continuation lines when a token
should be broken when it straddles a line break. It turns out that it's
sufficient to simply note these cases without ever actually inserting a
space, so don't do that (fixing the motivating bug). This leaves some
variables with obsolete names, so change them as well.

This patch handles the third of the three bugs reported in
https://github.com/llvm/llvm-project/issues/146362 .



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