[all-commits] [llvm/llvm-project] a0a1a4: [flang] Improve error handling for bad characters ...

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


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

  Changed paths:
    M flang/include/flang/Parser/characters.h
    M flang/lib/Parser/prescan.cpp
    M flang/lib/Parser/token-sequence.cpp
    M flang/lib/Parser/token-sequence.h
    M flang/test/Preprocessing/pp130.F90

  Log Message:
  -----------
  [flang] Improve error handling for bad characters in source

When an illegal character appears in Fortran source (after
preprocessing), catch and report it in the prescanning phase
rather than leaving it for the parser to cope with.

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




More information about the All-commits mailing list