[flang-commits] [flang] [flang] Escape '%' in %VAL/%REF messages (PR #94331)

Leandro Lupori via flang-commits flang-commits at lists.llvm.org
Tue Jun 4 09:09:36 PDT 2024


luporl wrote:

> There are other instances in the code, please grep for them and change them too.

Changing the other instances of %VAL/%REF result in `%%VAL` and `%%REF` in the error messages.

The problem is that format specifications, such as `%s` and `%%`, are only processed by `Say()` overloads that have arguments after the message text.

https://github.com/llvm/llvm-project/pull/94331


More information about the flang-commits mailing list