Skip to content

Commit

Permalink
fix pragma
Browse files Browse the repository at this point in the history
  • Loading branch information
metagn committed Nov 7, 2024
1 parent 4eb1ca5 commit f6d7ff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/cbuilderstmts.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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")

0 comments on commit f6d7ff6

Please sign in to comment.