[all-commits] [llvm/llvm-project] a6569e: [flang] Don't mistakenly tokenize a Hollerith lite...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue May 16 09:56:45 PDT 2023


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

  Changed paths:
    M flang/lib/Parser/prescan.cpp
    A flang/test/Parser/do100h.f

  Log Message:
  -----------
  [flang] Don't mistakenly tokenize a Hollerith literal from "DO 100 H=..." (bug #58732)

After tokenizing an identifier, don't allow the next token to be a
Hollerith literal.

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

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




More information about the All-commits mailing list