[flang-commits] [flang] [llvm] [flang-rt] Extension: accept '!' as value separator in NAMELIST input (PR #200441)

Eugene Epshteyn via flang-commits flang-commits at lists.llvm.org
Wed Jun 3 14:52:24 PDT 2026


================

----------------
eugeneepshteyn wrote:

Good feedback. To address this concern, please note that this new char is localized to namelist processing only: 
```
(edit.IsNamelist() && (ch == '&' || ch == '$' || ch == '!')
```
(note `IsNamelist()` check) and this is consistent how other namelist extension separator chars (`&`, `$`) are handled.

I added the test `BangIsNotSeparatorInListDirected` to hopefully catch the list directed case.

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


More information about the flang-commits mailing list