[flang-commits] [PATCH] D122711: [flang] Skip `D` when including D debug line
Jean Perier via Phabricator via flang-commits
flang-commits at lists.llvm.org
Thu Mar 31 01:56:47 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG14c7754a35da: [flang] Skip `D` when including D debug line (authored by jeanPerier).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122711/new/
https://reviews.llvm.org/D122711
Files:
flang/lib/Parser/prescan.cpp
Index: flang/lib/Parser/prescan.cpp
===================================================================
--- flang/lib/Parser/prescan.cpp
+++ flang/lib/Parser/prescan.cpp
@@ -144,6 +144,10 @@
case LineClassification::Kind::Source:
BeginStatementAndAdvance();
if (inFixedForm_) {
+ if (features_.IsEnabled(LanguageFeature::OldDebugLines) &&
+ (*at_ == 'D' || *at_ == 'd')) {
+ NextChar();
+ }
LabelField(tokens);
} else if (skipLeadingAmpersand_) {
skipLeadingAmpersand_ = false;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122711.419366.patch
Type: text/x-patch
Size: 536 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220331/7b02624a/attachment.bin>
More information about the flang-commits
mailing list