diff --git a/src/V3LinkJump.cpp b/src/V3LinkJump.cpp index b337c46b9..0f4649580 100644 --- a/src/V3LinkJump.cpp +++ b/src/V3LinkJump.cpp @@ -47,7 +47,7 @@ private: typedef vector BeginStack; // STATE - AstModule* m_modp; // Current module + AstNodeModule* m_modp; // Current module AstNodeFTask* m_ftaskp; // Current function/task AstWhile* m_loopp; // Current loop bool m_loopInc; // In loop increment @@ -109,7 +109,7 @@ private: } // VISITORS - virtual void visit(AstModule* nodep, AstNUser*) { + virtual void visit(AstNodeModule* nodep, AstNUser*) { m_modp = nodep; m_repeatNum = 0; nodep->iterateChildren(*this); diff --git a/test_regress/t/t_EXAMPLE.v b/test_regress/t/t_EXAMPLE.v index cba6136b9..41c96ef04 100644 --- a/test_regress/t/t_EXAMPLE.v +++ b/test_regress/t/t_EXAMPLE.v @@ -3,7 +3,7 @@ // Use this file as a template for submitting bugs, etc. // This module takes a single clock input, and should either // $write("*-* All Finished *-*\n"); -// $finish +// $finish; // on success, or $stop. // // The code as shown applies a random vector to the Test