mirror of
https://github.com/verilator/verilator.git
synced 2026-09-08 02:28:43 +02:00
Merge branch 'master' into develop-v5
This commit is contained in:
+1
-1
@@ -211,7 +211,7 @@ class EmitCSyms final : EmitCBaseVisitor {
|
||||
const string::size_type dpos = whole.rfind("__DOT__");
|
||||
if (dpos != string::npos) {
|
||||
scpName = whole.substr(0, dpos);
|
||||
varBase = whole.substr(dpos + strlen("__DOT__"));
|
||||
varBase = whole.substr(dpos + std::strlen("__DOT__"));
|
||||
} else {
|
||||
varBase = whole;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user