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
@@ -62,6 +62,7 @@ public:
virtual ~LinkCellsVertex() {}
AstNodeModule* modp() const { return m_modp; }
virtual string name() const { return modp()->name(); }
virtual FileLine* fileline() const { return modp()->fileline(); }
// Recursive modules get space for maximum recursion
virtual uint32_t rankAdder() const { return m_modp->recursiveClone() ? (1+v3Global.opt.moduleRecursionDepth()) : 1; }
};