summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-01-28 04:47:41 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2018-01-28 04:51:50 +0100
commitf05e7e6d61be5cacdc1896512c0bab2c422095eb (patch)
tree98d92e4aaa38ca2f2e96e1910b33f8225486794c /tests
parent87163168c690484ec3f4fd91d34cd33f127324a7 (diff)
Only check for implicit submenus for symbols
Implicit submenus are only ever created with a symbol as the base. _has_auto_menu_dep() would indirectly reject anything that wasn't a symbol anyway, but it led to redundant work. Also get rid of _check_auto_menu() and inline it into _finalize_tree(). It's easier to read without the recursive call being hidden inside _check_auto_menu(). Tweak the comments a bit too.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions