From b0876732549a8d93fa101f0da81d9ade6c1e6105 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sun, 22 Dec 2019 18:21:43 -0500 Subject: [PATCH] Fix output endif spacing. No functional change. --- src/V3EmitC.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/V3EmitC.cpp b/src/V3EmitC.cpp index da3f45cf1..e85396588 100644 --- a/src/V3EmitC.cpp +++ b/src/V3EmitC.cpp @@ -1215,7 +1215,7 @@ class EmitCImp : EmitCStmts { //puts("__Vm_activity = true;\n"); puts("}\n"); - if (nodep->ifdef()!="") puts("#endif // "+nodep->ifdef()+"\n"); + if (nodep->ifdef()!="") puts("#endif // "+nodep->ifdef()+"\n"); } void emitChangeDet() { @@ -2475,7 +2475,7 @@ void EmitCImp::emitIntFuncDecls(AstNodeModule* modp) { puts("("+cFuncArgs(funcp)+")"); if (funcp->slow()) puts(" VL_ATTR_COLD"); puts(";\n"); - if (funcp->ifdef()!="") puts("#endif // "+funcp->ifdef()+"\n"); + if (funcp->ifdef()!="") puts("#endif // "+funcp->ifdef()+"\n"); } } @@ -2756,7 +2756,7 @@ void EmitCImp::emitInt(AstNodeModule* modp) { } // finish up h-file - puts("#endif // guard\n"); + puts("#endif // guard\n"); } //----------------------------------------------------------------------