Skip to content
Snippets Groups Projects
Commit 32bb1d31 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Add printing for BlockWithOutBraces

parent 552ece73
Branches
Tags
No related merge requests found
Pipeline #27075 failed
......@@ -33,6 +33,10 @@ class FrameworkIntegrationPrinter(pystencils.backends.cbackend.CBackend):
else:
return super()._print(node)
def _print_BlockWithoutBraces(self, node):
block_contents = "\n".join([self._print(child) for child in node.args])
return "\n%s\n" % (''.join(block_contents.splitlines(True)))
def _print_WrapperFunction(self, node):
super_result = super()._print_KernelFunction(node)
if self._signatureOnly:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment