Fix auto-indentation of AstCStmts - again

This commit is contained in:
Wilson Snyder
2009-12-02 19:32:41 -05:00
parent 1da07a3b86
commit 2f2f416bea
7 changed files with 36 additions and 16 deletions
+6
View File
@@ -136,6 +136,12 @@ class LifeBlock {
LifeBlock* m_aboveLifep; // Upper life, or NULL
LifeState* m_statep; // Current global state
static int debug() {
static int level = -1;
if (VL_UNLIKELY(level < 0)) level = v3Global.opt.debugSrcLevel(__FILE__);
return level;
}
public:
LifeBlock(LifeBlock* aboveLifep, LifeState* statep) {
m_aboveLifep = aboveLifep; // Null if top