forked from github/verilator
In debug, show node dump after errors.
This commit is contained in:
parent
7f5220a6ca
commit
66b1611649
@ -1041,7 +1041,7 @@ void AstNode::v3errorEnd(ostringstream& str) const {
|
|||||||
nsstr<<str.str();
|
nsstr<<str.str();
|
||||||
if (debug()) {
|
if (debug()) {
|
||||||
nsstr<<endl;
|
nsstr<<endl;
|
||||||
nsstr<<"-node: "<<this<<endl;
|
nsstr<<"-node: "; ((AstNode*)this)->dump(nsstr); nsstr<<endl;
|
||||||
}
|
}
|
||||||
m_fileline->v3errorEnd(nsstr);
|
m_fileline->v3errorEnd(nsstr);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user