Skip to content

Commit

Permalink
fix wrong rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
metagn committed Nov 12, 2024
1 parent 41ddeeb commit e3e0b42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/cbuilderstmts.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand All @@ -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()
Expand Down

0 comments on commit e3e0b42

Please sign in to comment.