diff --git a/compiler/cbuilderstmts.nim b/compiler/cbuilderstmts.nim index 7e6f8170b379..98d655ce87a2 100644 --- a/compiler/cbuilderstmts.nim +++ b/compiler/cbuilderstmts.nim @@ -310,6 +310,6 @@ proc cInPlaceOp(binOp: UntypedBinaryOp, a, b: Snippet): Snippet = result.add(";\n") template addCPragma(builder: var Builder, val: Snippet) = - builder.add("#pragma ") + builder.add("\n#pragma ") builder.add(val) builder.add("\n")