From f45a9d128f97d8aa511cd97bf4a31567edb1a731 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Tue, 16 Jan 2024 22:09:45 +0300 Subject: [PATCH] oppc/code: insert footer line break --- src/openpower/oppc/pc_code.py | 1 + 1 file changed, 1 insertion(+) 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] -- 2.30.2