aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-dump.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/netlists-dump.adb')
-rw-r--r--src/synth/netlists-dump.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/synth/netlists-dump.adb b/src/synth/netlists-dump.adb
index 9e04570ff..e6bb8517e 100644
--- a/src/synth/netlists-dump.adb
+++ b/src/synth/netlists-dump.adb
@@ -71,7 +71,9 @@ package body Netlists.Dump is
end if;
Put (Image (Get_Sname_Suffix (N)));
when Sname_Version =>
- Dump_Name (Prefix);
+ if Prefix /= No_Sname then
+ Dump_Name (Prefix);
+ end if;
Put ("%");
Put_Trim (Uns32'Image (Get_Sname_Version (N)));
end case;