From e3e0b42199a41733737acc4be3efc293f1a2ed02 Mon Sep 17 00:00:00 2001 From: metagn Date: Tue, 12 Nov 2024 17:11:04 +0300 Subject: [PATCH] fix wrong rebase --- compiler/cbuilderstmts.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/cbuilderstmts.nim b/compiler/cbuilderstmts.nim index f01851c6e7ea..deff4776dcc0 100644 --- a/compiler/cbuilderstmts.nim +++ b/compiler/cbuilderstmts.nim @@ -306,7 +306,7 @@ proc cInPlaceOp(binOp: TypedBinaryOp, t: Snippet, a, b: Snippet): Snippet = result.add(typedBinaryOperators[binOp]) result.add("= ") result.add(b) - result.addLineEnd(";") + result.add(";\n") proc cInPlaceOp(binOp: UntypedBinaryOp, a, b: Snippet): Snippet = result = "" @@ -315,7 +315,7 @@ proc cInPlaceOp(binOp: UntypedBinaryOp, a, b: Snippet): Snippet = result.add(untypedBinaryOperators[binOp]) result.add("= ") result.add(b) - result.addLineEnd(";") + result.add(";\n") template addCPragma(builder: var Builder, val: Snippet) = builder.addNewline()