[flang-commits] [flang] [flang] Don't perform macro replacement on exponents (PR #136176)
Eugene Epshteyn via flang-commits
flang-commits at lists.llvm.org
Thu Apr 17 12:15:47 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
----------------
eugeneepshteyn wrote:
Double "Appends a full copy of another sequence." for lines 111-112?
https://github.com/llvm/llvm-project/pull/136176
More information about the flang-commits
mailing list