Commit 76946cd
committed
[flang][runtime] Allow child NAMELIST input to advance records
NAMELIST input in child I/O is rare, and it's not clear in the
standard whether it should be allowed to advance to later records
in the parent unit. But GNU Fortran supports it, and there's no
good reason not to do so since a NAMELIST input group that isn't
terminated on the same line is otherwise going to be a fatal error.
Fixes #153416.1 parent e315455 commit 76946cd
File tree
2 files changed
+18
-3
lines changed- flang-rt
- include/flang-rt/runtime
- lib/runtime
2 files changed
+18
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
696 | 696 | | |
697 | 697 | | |
698 | 698 | | |
| 699 | + | |
699 | 700 | | |
700 | 701 | | |
701 | 702 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1095 | 1095 | | |
1096 | 1096 | | |
1097 | 1097 | | |
1098 | | - | |
1099 | | - | |
| 1098 | + | |
1100 | 1099 | | |
1101 | | - | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
1102 | 1106 | | |
1103 | 1107 | | |
1104 | 1108 | | |
| |||
1114 | 1118 | | |
1115 | 1119 | | |
1116 | 1120 | | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
1117 | 1131 | | |
1118 | 1132 | | |
1119 | 1133 | | |
| |||
0 commit comments