[all-commits] [llvm/llvm-project] f0ffc6: [flang] Fix parsing of WRITE(I+J) with more accura...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon Feb 1 09:08:17 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f0ffc690d5bcb3d8c373cbe63ac9a2a3a10deee8
https://github.com/llvm/llvm-project/commit/f0ffc690d5bcb3d8c373cbe63ac9a2a3a10deee8
Author: peter klausler <pklausler at nvidia.com>
Date: 2021-02-01 (Mon, 01 Feb 2021)
Changed paths:
M flang/lib/Parser/Fortran-parsers.cpp
M flang/lib/Parser/io-parsers.cpp
Log Message:
-----------
[flang] Fix parsing of WRITE(I+J) with more accurate look-ahead
The parsing of I/O units uses look-ahead to discriminate between
keywords, variables and expressions as part of distinguishing internal
from external I/O. The look-ahead was inaccurate for variables that
appear as the initial parts of expressions.
Differential Revision: https://reviews.llvm.org/D95743
More information about the All-commits
mailing list