forked from github/verilator
Internals: Cleanup spacing of Vi for loops.
This commit is contained in:
parent
c0739e908c
commit
3cd2c8532d
@ -240,7 +240,7 @@ public:
|
|||||||
|
|
||||||
// "+" in the debug indicates a print from the model
|
// "+" in the debug indicates a print from the model
|
||||||
puts("VL_DEBUG_IF(VL_DBG_MSGF(\"+ ");
|
puts("VL_DEBUG_IF(VL_DBG_MSGF(\"+ ");
|
||||||
for (int i = 0; i < m_modp->level(); ++i) { puts(" "); }
|
for (int i = 0; i < m_modp->level(); ++i) puts(" ");
|
||||||
puts(prefixNameProtect(m_modp));
|
puts(prefixNameProtect(m_modp));
|
||||||
puts(nodep->isLoose() ? "__" : "::");
|
puts(nodep->isLoose() ? "__" : "::");
|
||||||
puts(nodep->nameProtect() + "\\n\"); );\n");
|
puts(nodep->nameProtect() + "\\n\"); );\n");
|
||||||
|
@ -866,7 +866,7 @@ void EmitCSyms::emitSymImp() {
|
|||||||
|
|
||||||
if (v3Global.dpi()) {
|
if (v3Global.dpi()) {
|
||||||
m_ofpBase->puts("// Setup export functions\n");
|
m_ofpBase->puts("// Setup export functions\n");
|
||||||
m_ofpBase->puts("for (int __Vfinal=0; __Vfinal<2; __Vfinal++) {\n");
|
m_ofpBase->puts("for (int __Vfinal = 0; __Vfinal < 2; ++__Vfinal) {\n");
|
||||||
for (auto it = m_scopeFuncs.begin(); it != m_scopeFuncs.end(); ++it) {
|
for (auto it = m_scopeFuncs.begin(); it != m_scopeFuncs.end(); ++it) {
|
||||||
AstScopeName* const scopep = it->second.m_scopep;
|
AstScopeName* const scopep = it->second.m_scopep;
|
||||||
AstCFunc* const funcp = it->second.m_cfuncp;
|
AstCFunc* const funcp = it->second.m_cfuncp;
|
||||||
|
Loading…
Reference in New Issue
Block a user