diff --git a/compiler/cbuilderdecls.nim b/compiler/cbuilderdecls.nim index f4abe5d107c1..1c54a85eb383 100644 --- a/compiler/cbuilderdecls.nim +++ b/compiler/cbuilderdecls.nim @@ -77,7 +77,7 @@ template addArrayVarWithInitializer(builder: var Builder, kind: VarKind = Local, builder.add("[") builder.addInt(len) builder.add("] = ") - initializerBody + body builder.add(";\n") template addTypedef(builder: var Builder, name: string, typeBody: typed) =