kconfig: qconf: parse newer types at debug info
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 30 Jun 2020 06:48:53 +0000 (08:48 +0200)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 1 Jul 2020 15:11:06 +0000 (00:11 +0900)
There are 3 types that are not parsed by the debug info logic.
Add support for them.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/qconf.cc

index fd721c6..4a61612 100644 (file)
@@ -1154,6 +1154,9 @@ QString ConfigInfoView::debug_info(struct symbol *sym)
                case P_DEFAULT:
                case P_SELECT:
                case P_RANGE:
+               case P_COMMENT:
+               case P_IMPLY:
+               case P_SYMBOL:
                        debug += prop_get_type_name(prop->type);
                        debug += ": ";
                        expr_print(prop->expr, expr_print_help, &debug, E_NONE);