mirror of
https://github.com/verilator/verilator.git
synced 2026-10-08 02:53:12 +02:00
When showing an error, show source code.
This commit is contained in:
+1
-1
@@ -832,7 +832,7 @@ void AstNode::dump(std::ostream& str) {
|
||||
//<<" "<<cvtToHex(this)->m_backp
|
||||
<<" <e"<<std::dec<<editCount()
|
||||
<<((editCount()>=editCountLast())?"#>":">")
|
||||
<<" {"<<fileline()->filenameLetters()<<std::dec<<fileline()->lineno()<<"}";
|
||||
<<" {"<<fileline()->filenameLetters()<<std::dec<<fileline()->lastLineno()<<"}";
|
||||
if (user1p()) str<<" u1="<<cvtToHex(user1p());
|
||||
if (user2p()) str<<" u2="<<cvtToHex(user2p());
|
||||
if (user3p()) str<<" u3="<<cvtToHex(user3p());
|
||||
|
||||
Reference in New Issue
Block a user