[all-commits] [llvm/llvm-project] 36541e: [flang] Fix #else with trailing text (#138045)
Eugene Epshteyn via All-commits
all-commits at lists.llvm.org
Thu May 1 20:08:14 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 36541ec3ca7027aec87118262773b35964c0edec
https://github.com/llvm/llvm-project/commit/36541ec3ca7027aec87118262773b35964c0edec
Author: Eugene Epshteyn <eepshteyn at nvidia.com>
Date: 2025-05-01 (Thu, 01 May 2025)
Changed paths:
M flang/lib/Parser/preprocessor.cpp
A flang/test/Preprocessing/pp048.F
Log Message:
-----------
[flang] Fix #else with trailing text (#138045)
Fixed the issue, where the extra text on #else line (' Z' in the example
below) caused the data from the "else" clause to be processed together
with the data of "then" clause.
```
#ifndef XYZ42
PARAMETER(A=2)
#else Z
PARAMETER(A=3)
#endif
end
```
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list