[flang-commits] [PATCH] D86553: [flang] Improve error handling for bad characters in source

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue Aug 25 10:25:22 PDT 2020


klausler created this revision.
klausler added reviewers: sscalpone, PeteSteinfeld.
klausler added a project: Flang.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: DavidTruby.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
klausler requested review of this revision.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86553

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86553.287704.patch
Type: text/x-patch
Size: 5039 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20200825/ac87d22d/attachment.bin>


More information about the flang-commits mailing list