make tests green again

This commit is contained in:
Andreas Rumpf
2017-12-13 22:16:37 +01:00
parent c35788b97c
commit be16dfd195

View File

@@ -925,7 +925,7 @@ proc genProcHeader(m: BModule, prc: PSym): Rope =
result.add "N_LIB_EXPORT "
elif prc.typ.callConv == ccInline:
result.add "static "
else:
elif {sfImportc, sfExportc} * prc.flags == {}:
result.add "N_LIB_PRIVATE "
var check = initIntSet()
fillLoc(prc.loc, locProc, prc.ast[namePos], mangleName(m, prc), OnUnknown)