Commit ce7debf
committed
[flang] Fix crash with USE of hermetic module file
When one hermetic module file uses another, a later compilation
may crash in semantics when it itself is used, since the module
file reader sets the "current hermetic module file scope" to
null after reading one rather than saving and restoring that
pointer.1 parent e5f3260 commit ce7debf
2 files changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1537 | 1537 | | |
1538 | 1538 | | |
1539 | 1539 | | |
| 1540 | + | |
1540 | 1541 | | |
1541 | 1542 | | |
1542 | 1543 | | |
| |||
1552 | 1553 | | |
1553 | 1554 | | |
1554 | 1555 | | |
1555 | | - | |
| 1556 | + | |
1556 | 1557 | | |
1557 | 1558 | | |
1558 | 1559 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
0 commit comments