Show file and line info when possible on internal graph errors.

This commit is contained in:
Wilson Snyder
2018-07-14 18:45:06 -04:00
parent d065662afc
commit cf4bf9b7a5
12 changed files with 38 additions and 6 deletions
+1
View File
@@ -172,6 +172,7 @@ public:
// ACCESSORS
virtual string name() const { return (cvtToStr((void*)m_nodep)+"@"+scopep()->prettyName()); }
virtual string dotColor() const { return "yellow"; }
virtual FileLine* fileline() const { return nodep()->fileline(); }
AstNode* nodep() const { return m_nodep; }
AstActive* activep() const { return m_activep; }
bool slow() const { return m_slow; }