mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-08 15:34:05 +00:00
If a symbols has dependency on the preceding symbol, the menu entry should become the submenu of the preceding one, and displayed with deeper indentation. This is done by restructuring the menu tree in menu_finalize(). It is a bit complicated computation, so let's add a test case. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Ulf Magnusson <ulfalizer@gmail.com>
10 lines
228 B
Text
10 lines
228 B
Text
A (A) [Y/n/?] (NEW)
|
|
A0 (A0) [Y/n/?] (NEW)
|
|
A1_0 (A0_0) [N/y/?] (NEW)
|
|
A1 (A1) [Y/n/?] (NEW)
|
|
choice
|
|
> 1. A1_0 (A1_0) (NEW)
|
|
2. A1_1 (A1_1) (NEW)
|
|
choice[1-2?]:
|
|
B (B) [N/y/?] (NEW)
|
|
C (C) [N/y/?] (NEW)
|