Fix last commit; allow multiple exprs

This commit is contained in:
Wilson Snyder 2010-12-30 08:26:36 -05:00
parent 2cb97f7475
commit b763809f5e
1 changed files with 1 additions and 1 deletions

View File

@ -1683,7 +1683,7 @@ struct AstSysIgnore : public AstNode {
// Parents: stmtlist
// Children: varrefs or exprs
AstSysIgnore(FileLine* fileline, AstNode* exprsp)
: AstNode (fileline) { setNOp1p(exprsp); }
: AstNode (fileline) { addNOp1p(exprsp); }
ASTNODE_NODE_FUNCS(SysIgnore, SYSIGNORE)
virtual string verilogKwd() const { return "$ignored"; }
virtual bool isGateOptimizable() const { return false; } // Though deleted before opt