diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-08-21 19:48:22 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-08-21 20:45:27 +0200 |
| commit | 67e890cc9d926213fbec93afb3ee14e6c24f9a50 (patch) | |
| tree | d7f4c2cb945079eb92d7a8e0bff19e3681050558 /allyesconfig.py | |
| parent | 5a9c3573460e4003bde46efa0edc2e0fb627a1fe (diff) | |
Handle multiple definition locations in a nicer way
Instead of precalculating a set() to get unique symbols, precalculate a
list with any duplicates from multiple definition locations removed, and
preserve the order of the symbols within it.
This makes it possible to get rid of the Symbol._written shenanigans in
functions that only need to iterate through unique symbols in sorted
order, which is all of them except write_config() (because it needs to
walk the entire menu tree).
Diffstat (limited to 'allyesconfig.py')
0 files changed, 0 insertions, 0 deletions
