[flang] Improve preprocessor error message provenances, pass f90_correct test pre21.
Original-commit: flang-compiler/f18@af5943e3bce4961594bd06c575a24ea51f0881a7
Reviewed-on: https://github.com/flang-compiler/f18/pull/26
Tree-same-pre-rewrite: false
diff --git a/flang/lib/parser/preprocessor.h b/flang/lib/parser/preprocessor.h
index bf34a247..7b6d1a5 100644
--- a/flang/lib/parser/preprocessor.h
+++ b/flang/lib/parser/preprocessor.h
@@ -77,7 +77,7 @@
bool IsNameDefined(const ContiguousChars &);
TokenSequence ReplaceMacros(const TokenSequence &, const Prescanner &);
void SkipDisabledConditionalCode(
- const std::string &, IsElseActive, Prescanner *);
+ const std::string &, IsElseActive, Prescanner *, Provenance);
bool IsIfPredicateTrue(
const TokenSequence &expr, size_t first, size_t exprTokens, Prescanner *);