projects
/
openpower-isa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04d4b1c
)
oppc/code: fix switch statement
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 16 Jan 2024 19:09:45 +0000
(22:09 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 16 Jan 2024 19:10:08 +0000
(22:10 +0300)
src/openpower/oppc/pc_code.py
patch
|
blob
|
history
diff --git
a/src/openpower/oppc/pc_code.py
b/src/openpower/oppc/pc_code.py
index b15d5fe321826ce5a8b0ff1908774ef60900999d..c640bdba21ab9583fb14f9c286ec41f91907da47 100644
(file)
--- a/
src/openpower/oppc/pc_code.py
+++ b/
src/openpower/oppc/pc_code.py
@@
-588,6
+588,7
@@
class CodeVisitor(pc_util.Visitor):
with self[node]:
for (level, stmt) in self[node.cases]:
self[node].emit(stmt=stmt, level=level)
+ self[node].emit(stmt="}")
@pc_util.Hook(pc_ast.Cases)
def Cases(self, node):