Commit 32bb1d31 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Add printing for BlockWithOutBraces

parent 552ece73
Pipeline #27075 failed with stage
in 2 minutes and 29 seconds
......@@ -33,6 +33,10 @@ class FrameworkIntegrationPrinter(pystencils.backends.cbackend.CBackend):
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:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment