Commit d1e9ce5
H. Peter Anvin (Intel)
asm/preproc.c: merge end-of-input code
Normally, end of included files or special inputs should be handled by
pp_tokline(), but under some conditions it might be handled by
pp_cleanup_pass(). The latter case would assume the input was from a
file, which would cause a crash if istk->fp is NULL.
Although this should never happen, this is a good reason to merge
these two pieces of code, which ought to be doing the same thing
anyway.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>1 parent 4bcfe7a commit d1e9ce5
1 file changed
Lines changed: 35 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8642 | 8642 | | |
8643 | 8643 | | |
8644 | 8644 | | |
| 8645 | + | |
| 8646 | + | |
| 8647 | + | |
| 8648 | + | |
| 8649 | + | |
| 8650 | + | |
| 8651 | + | |
| 8652 | + | |
| 8653 | + | |
| 8654 | + | |
| 8655 | + | |
| 8656 | + | |
| 8657 | + | |
| 8658 | + | |
| 8659 | + | |
| 8660 | + | |
| 8661 | + | |
| 8662 | + | |
| 8663 | + | |
| 8664 | + | |
| 8665 | + | |
| 8666 | + | |
| 8667 | + | |
| 8668 | + | |
| 8669 | + | |
| 8670 | + | |
| 8671 | + | |
| 8672 | + | |
| 8673 | + | |
| 8674 | + | |
8645 | 8675 | | |
8646 | 8676 | | |
8647 | 8677 | | |
| |||
8809 | 8839 | | |
8810 | 8840 | | |
8811 | 8841 | | |
8812 | | - | |
8813 | | - | |
8814 | | - | |
8815 | | - | |
8816 | | - | |
8817 | | - | |
8818 | | - | |
8819 | | - | |
| 8842 | + | |
8820 | 8843 | | |
8821 | | - | |
8822 | | - | |
8823 | | - | |
8824 | | - | |
8825 | | - | |
8826 | | - | |
8827 | | - | |
8828 | | - | |
8829 | | - | |
8830 | | - | |
8831 | 8844 | | |
8832 | 8845 | | |
8833 | 8846 | | |
| |||
8942 | 8955 | | |
8943 | 8956 | | |
8944 | 8957 | | |
8945 | | - | |
| 8958 | + | |
8946 | 8959 | | |
8947 | 8960 | | |
8948 | | - | |
| 8961 | + | |
8949 | 8962 | | |
8950 | 8963 | | |
8951 | 8964 | | |
| |||
8955 | 8968 | | |
8956 | 8969 | | |
8957 | 8970 | | |
8958 | | - | |
8959 | | - | |
8960 | | - | |
8961 | | - | |
8962 | | - | |
8963 | | - | |
8964 | | - | |
8965 | | - | |
8966 | | - | |
8967 | | - | |
8968 | | - | |
8969 | | - | |
8970 | | - | |
| 8971 | + | |
| 8972 | + | |
8971 | 8973 | | |
8972 | 8974 | | |
8973 | 8975 | | |
| |||
0 commit comments