summaryrefslogtreecommitdiff
path: root/tests/Kexpr_items
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-08-22 22:08:06 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-08-22 23:57:17 +0200
commit7dae98803a6fc5d08041d1387e2e0d83fc0eb0ed (patch)
treefad037c195a473920223264aa4c7cbc83ba5fc12 /tests/Kexpr_items
parentd2c1430c91c574dc0dfd84f3652c8d9af8c77568 (diff)
Add a generic node iterator
Suggested by Mitja Horvat (pinkfluid) in https://github.com/ulfalizer/Kconfiglib/pull/50. Kconfig.node_iter() iterates through all menu nodes in the menu tree in Kconfig order. This saves scripts the trouble of implementing their own tree walking code. Have node_iter() take a 'unique_syms' flag that can be enabled to only include symbols defined in multiple locations once. This is often what you want when generating output (and is used by write_config()). Order is still preserved. Piggyback a fix to a syntax error test comment. Parsing has been tightened up now.
Diffstat (limited to 'tests/Kexpr_items')
0 files changed, 0 insertions, 0 deletions