[flang-commits] [flang] [flang] Don't perform macro replacement on exponents (PR #136176)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Fri Apr 18 08:33:19 PDT 2025
================
@@ -100,14 +100,27 @@ class TokenSequence {
start_.pop_back();
}
- void Put(const TokenSequence &);
- void Put(const TokenSequence &, ProvenanceRange);
- void Put(const TokenSequence &, std::size_t at, std::size_t tokens = 1);
+ // These append characters with provenance and then close the token.
+ // When the last token of this sequence remains open beforehand,
+ // the new characters are appended to it.
void Put(const char *, std::size_t, Provenance);
void Put(const CharBlock &, Provenance);
void Put(const std::string &, Provenance);
void Put(llvm::raw_string_ostream &, Provenance);
+ // Closes current token (if open), than appends full copy of another sequence.
+ // Appends a full copy of another sequence. When the last token of this
----------------
klausler wrote:
Thanks; I had reworked a comment, but didn't delete its original.
https://github.com/llvm/llvm-project/pull/136176
More information about the flang-commits
mailing list