diff options
author | Tom Eccles <tom.eccles@arm.com> | 2025-07-15 16:39:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-15 16:39:34 +0100 |
commit | c2e41be50f2cc3d1e99c30b1996b8873b05c4b0e (patch) | |
tree | ab256de2bc9ebd68ecfd794182686cee695ad16e /lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp | |
parent | f5c676d6d95dc63b8dcb43dd2e4dfc913a9c5a50 (diff) | |
download | llvm-c2e41be50f2cc3d1e99c30b1996b8873b05c4b0e.zip llvm-c2e41be50f2cc3d1e99c30b1996b8873b05c4b0e.tar.gz llvm-c2e41be50f2cc3d1e99c30b1996b8873b05c4b0e.tar.bz2 |
[flang][Parser] Add whitespace token after the sentinel in fixed form (#148825)
Fixes #148386
The first time the line was classified (using
`Prescanner::ClassifyLine(const char *)`) the line was correctly
classified as a compiler directive. But then later on the token form is
invoked (`Prescanner::ClassifyLine(TokenSequence, Provenance)`). This
one incorrectly classified the line as a comment because there was no
whitespace token right after the sentinel. This fixes the issue by
ensuring this whitespace is added.
Diffstat (limited to 'lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp')
0 files changed, 0 insertions, 0 deletions