summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/pysh/pyshyacc.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/pysh/pyshyacc.py')
-rw-r--r--bitbake/lib/bb/pysh/pyshyacc.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/pysh/pyshyacc.py b/bitbake/lib/bb/pysh/pyshyacc.py
index 6b2bf466d2..8bb9927321 100644
--- a/bitbake/lib/bb/pysh/pyshyacc.py
+++ b/bitbake/lib/bb/pysh/pyshyacc.py
@@ -707,6 +707,9 @@ def format_commands(v):
707 if v.reverse_status: 707 if v.reverse_status:
708 name = '!' + name 708 name = '!' + name
709 return [name, format_commands(v.commands)] 709 return [name, format_commands(v.commands)]
710 elif isinstance(v, Case):
711 name = ['Case']
712 name += [v.name, format_commands(v.items)]
710 elif isinstance(v, SimpleCommand): 713 elif isinstance(v, SimpleCommand):
711 name = ['SimpleCommand'] 714 name = ['SimpleCommand']
712 if v.words: 715 if v.words: