diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2019-03-14 13:38:41 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2019-03-14 16:43:36 +0100 |
| commit | 709fd86e86fb2c033e2f1d81bca76208dbba05a7 (patch) | |
| tree | 2aef97bf503d7291745e5409416159940ce82476 /menuconfig.py | |
| parent | 329c941fb4057875c3cb456e5eb144afb45105eb (diff) | |
Refactor and optimize type parsing a bit
Have BOOL/TRISTATE/... match _T_BOOL/_T_TRISTATE/... so that _set_type()
doesn't have to do any conversion in the common case. Conversion is
still needed for _T_DEF_BOOL/_T_DEF_TRISTATE/..., but those are rare.
Also make use of UNKNOWN being falsy.
Piggyback some rearranging of global constants so that related stuff
appears closer together, for readability.
Diffstat (limited to 'menuconfig.py')
0 files changed, 0 insertions, 0 deletions
