diff options
author | Carl Worth <cworth@cworth.org> | 2010-05-11 12:30:09 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-05-11 12:30:09 -0700 |
commit | c6d5af335121f6027cc46ef9c5aa77aa4e5906ca (patch) | |
tree | 67f4d76defb0631c8c1b7828bcf50b5caa2873e4 /main | |
parent | 49206ef4c8adba5427e9d9b5e0dfc11345262890 (diff) |
Fix to handle chained #define directives.
The fix is as simple as adding a loop to continue to lookup values
in the hash table until one of the following termination conditions:
1. The token we look up has no definition
2. We get back the original symbol we started with
This second termination condition prevents infinite iteration.
Diffstat (limited to 'main')
0 files changed, 0 insertions, 0 deletions