Commit 5a5887a
committed
Handle sloppy cross references more and less generically
A previous commit adjusted readSymbol() to skip leading whitespace in
order to avoid errors with sloppy cross references. This did not fix
handling of literals such as numbers and booleans in readObject()
because they're not accessed using readSymbol(). Also, adjusting the
very low-level readSymbol() function might generate fallout.
So instead, this change moves the skipping of leading whitespace into
readObject() so that it affects all types of referenced objects equally
but not all symbol lookups altogether.
Signed-off-by: Michael Weiser <michael.weiser@gmx.de>1 parent f50847f commit 5a5887a
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7857 | 7857 | | |
7858 | 7858 | | |
7859 | 7859 | | |
| 7860 | + | |
| 7861 | + | |
| 7862 | + | |
| 7863 | + | |
| 7864 | + | |
7860 | 7865 | | |
7861 | 7866 | | |
7862 | 7867 | | |
| |||
8011 | 8016 | | |
8012 | 8017 | | |
8013 | 8018 | | |
8014 | | - | |
8015 | 8019 | | |
8016 | 8020 | | |
8017 | 8021 | | |
| |||
0 commit comments