Fix escaped identifiers with '.' causing conflicts, bug83.

This commit is contained in:
Wilson Snyder
2009-05-08 13:16:19 -04:00
parent 4569278c53
commit a3e463030d
11 changed files with 91 additions and 47 deletions
+3 -3
View File
@@ -209,9 +209,9 @@ void EmitCSyms::emitImp() {
if (modp->isTop()) {
} else {
ofp()->printf("\t%c %-30s ", comma, scopep->nameDotless().c_str());
puts("(Verilated::catName(topp->name(),\"");
puts("."+scopep->prettyName());
puts("\"))\n");
puts("(Verilated::catName(topp->name(),");
putsQuoted("."+scopep->prettyName());
puts("))\n");
comma=',';
}
}