Repository navigation
Commit 5797017
committed
Report no macro usages when preprocessing fails
The usages of a macro that is undefined or redefined were added to the
caller's list right away, so an error later in the file left that list
partly filled, where before it stayed empty. Keep them in a local list and
hand it over only when preprocessing succeeds.1 parent a5ca9c6 commit 5797017
2 files changed
Lines changed: 23 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4352 | 4352 | | |
4353 | 4353 | | |
4354 | 4354 | | |
| 4355 | + | |
| 4356 | + | |
4355 | 4357 | | |
4356 | 4358 | | |
4357 | 4359 | | |
| |||
4419 | 4421 | | |
4420 | 4422 | | |
4421 | 4423 | | |
4422 | | - | |
| 4424 | + | |
4423 | 4425 | | |
4424 | 4426 | | |
4425 | 4427 | | |
| |||
4713 | 4715 | | |
4714 | 4716 | | |
4715 | 4717 | | |
4716 | | - | |
| 4718 | + | |
4717 | 4719 | | |
4718 | 4720 | | |
4719 | 4721 | | |
| |||
4768 | 4770 | | |
4769 | 4771 | | |
4770 | 4772 | | |
4771 | | - | |
4772 | | - | |
| 4773 | + | |
| 4774 | + | |
| 4775 | + | |
| 4776 | + | |
| 4777 | + | |
4773 | 4778 | | |
4774 | 4779 | | |
4775 | 4780 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5784 | 5784 | | |
5785 | 5785 | | |
5786 | 5786 | | |
| 5787 | + | |
| 5788 | + | |
| 5789 | + | |
| 5790 | + | |
| 5791 | + | |
| 5792 | + | |
| 5793 | + | |
| 5794 | + | |
| 5795 | + | |
| 5796 | + | |
| 5797 | + | |
| 5798 | + | |
| 5799 | + | |
5787 | 5800 | | |
5788 | 5801 | | |
5789 | 5802 | | |
| |||
6239 | 6252 | | |
6240 | 6253 | | |
6241 | 6254 | | |
| 6255 | + | |
6242 | 6256 | | |
6243 | 6257 | | |
6244 | 6258 | | |
| |||
0 commit comments