diff --git a/src/V3EmitCSyms.cpp b/src/V3EmitCSyms.cpp index e958cf5a1..2898db155 100644 --- a/src/V3EmitCSyms.cpp +++ b/src/V3EmitCSyms.cpp @@ -861,12 +861,14 @@ void EmitCSyms::emitDpiHdr() { for (AstCFunc* nodep : m_dpis) { if (nodep->dpiExportWrapper()) { if (!firstExp++) puts("\n// DPI EXPORTS\n"); - putsDecoration("// DPI export" + ifNoProtect(" at " + nodep->fileline()->ascii()) + "\n"); + putsDecoration("// DPI export" + ifNoProtect(" at " + nodep->fileline()->ascii()) + + "\n"); puts("extern " + nodep->rtnTypeVoid() + " " + nodep->nameProtect() + "(" + cFuncArgs(nodep) + ");\n"); } else if (nodep->dpiImport()) { if (!firstImp++) puts("\n// DPI IMPORTS\n"); - putsDecoration("// DPI import" + ifNoProtect(" at " + nodep->fileline()->ascii()) + "\n"); + putsDecoration("// DPI import" + ifNoProtect(" at " + nodep->fileline()->ascii()) + + "\n"); puts("extern " + nodep->rtnTypeVoid() + " " + nodep->nameProtect() + "(" + cFuncArgs(nodep) + ");\n"); }