Fix t_scope_map --verbose test, bug955.

Signed-off-by: Wilson Snyder <wsnyder@wsnyder.org>
This commit is contained in:
Todd Strader 2015-11-06 18:58:48 -05:00 committed by Wilson Snyder
parent c72ee41142
commit 7850f49963

View File

@ -41,7 +41,7 @@ int main(int argc, char **argv, char **env) {
for (VerilatedScopeNameMap::const_iterator it = scopeMapp->begin(); it != scopeMapp->end(); it++) {
#ifdef TEST_VERBOSE
VL_PRINTF("---------------------------------------------\n");
VL_PRINTF("Scope = %s\n", it->first.c_str());
VL_PRINTF("Scope = %s\n", it->first);
it->second->scopeDump();
#endif
VerilatedVarNameMap * varNameMap = it->second->varsp();