diff options
-rw-r--r-- | compiler/condsyms.nim | 1 | ||||
-rw-r--r-- | compiler/vmgen.nim | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/compiler/condsyms.nim b/compiler/condsyms.nim index 773c0faf9..56587a4fa 100644 --- a/compiler/condsyms.nim +++ b/compiler/condsyms.nim @@ -70,3 +70,4 @@ proc initDefines*(symbols: StringTableRef) = defineSymbol("nimNoNil") defineSymbol("nimNoZeroTerminator") defineSymbol("nimNotNil") + defineSymbol("nimVmExportFixed") diff --git a/compiler/vmgen.nim b/compiler/vmgen.nim index 7911abc8e..59fed3cf7 100644 --- a/compiler/vmgen.nim +++ b/compiler/vmgen.nim @@ -1899,7 +1899,7 @@ proc gen(c: PCtx; n: PNode; dest: var TDest; flags: TGenFlags = {}) = else: dest = tmp0 of nkEmpty, nkCommentStmt, nkTypeSection, nkConstSection, nkPragma, - nkTemplateDef, nkIncludeStmt, nkImportStmt, nkFromStmt: + nkTemplateDef, nkIncludeStmt, nkImportStmt, nkFromStmt, nkExportStmt: unused(c, n, dest) of nkStringToCString, nkCStringToString: gen(c, n.sons[0], dest) |