summaryrefslogtreecommitdiff
path: root/kconfiglib.py
diff options
context:
space:
mode:
Diffstat (limited to 'kconfiglib.py')
-rw-r--r--kconfiglib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 46da1c1..cbe61c7 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -4350,13 +4350,13 @@ def _sym_choice_str(sc):
if isinstance(sc, Symbol):
for select, cond in sc.selects:
- select_string = "select " + select.name
+ select_string = "select " + expr_str(select)
if cond is not sc.kconfig.y:
select_string += " if " + expr_str(cond)
indent_add(select_string)
for imply, cond in sc.implies:
- imply_string = "imply " + imply.name
+ imply_string = "imply " + expr_str(imply)
if cond is not sc.kconfig.y:
imply_string += " if " + expr_str(cond)
indent_add(imply_string)