[all-commits] [llvm/llvm-project] ba4cc3: [flang] Don't completely left-justify fixed-form t...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Aug 25 10:54:59 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ba4cc3b38087eb256ef7a93b14dc7d09be15c511
      https://github.com/llvm/llvm-project/commit/ba4cc3b38087eb256ef7a93b14dc7d09be15c511
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2020-08-25 (Tue, 25 Aug 2020)

  Changed paths:
    M flang/lib/Parser/prescan.cpp
    M flang/lib/Parser/prescan.h
    A flang/test/Preprocessing/fixed-rescan.F
    M flang/test/Preprocessing/pp029.F

  Log Message:
  -----------
  [flang] Don't completely left-justify fixed-form tokenization

If the label field is empty, and macro replacement occurs,
the rescanned text might be misclassified as a comment card
if it happens to begin with a C or a D.  Insert a leading
space into these otherwise empty label fields.

Fixes https://bugs.llvm.org/show_bug.cgi?id=47173




More information about the All-commits mailing list