From: Dmitry Selyutin Date: Tue, 16 Jan 2024 19:09:45 +0000 (+0300) Subject: oppc/code: insert footer line break X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f45a9d128f97d8aa511cd97bf4a31567edb1a731;p=openpower-isa.git oppc/code: insert footer line break --- diff --git a/src/openpower/oppc/pc_code.py b/src/openpower/oppc/pc_code.py index 8e307adf..13b6fc65 100644 --- a/src/openpower/oppc/pc_code.py +++ b/src/openpower/oppc/pc_code.py @@ -77,6 +77,7 @@ class CodeVisitor(pc_util.Visitor): if decls: self.__code[self.__header].emit() self.__code[self.__footer].emit(stmt=f"}}") + self.__code[self.__footer].emit() def __iter__(self): yield from self.__code[self.__header]