diff --git a/src/V3EmitCSyms.cpp b/src/V3EmitCSyms.cpp index 1a4bbca13..17307fa24 100644 --- a/src/V3EmitCSyms.cpp +++ b/src/V3EmitCSyms.cpp @@ -423,7 +423,7 @@ void EmitCSyms::emitSymHdr() { puts("\n// LOCAL STATE\n"); // Must be before subcells, as constructor order needed before _vlCoverInsert. - puts("const char* __Vm_namep;\n"); + puts("const char* const __Vm_namep;\n"); if (v3Global.needTraceDumper()) { // __Vm_dumperp is local, otherwise we wouldn't know what design's eval()