aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-09-23 08:40:20 +0200
committerTristan Gingold <tgingold@free.fr>2017-09-25 18:32:45 +0200
commitaebedcd4fd4183aaecaf7bc82b1345b6fd40bfc5 (patch)
tree40beab79ece19fe7ee38dbd03bcf25d11e4316a7
parent8f43c1a9ce8c7660bf1bca6634c752e0a9ba3b3e (diff)
downloadghdl-aebedcd4fd4183aaecaf7bc82b1345b6fd40bfc5.tar.gz
ghdl-aebedcd4fd4183aaecaf7bc82b1345b6fd40bfc5.tar.bz2
ghdl-aebedcd4fd4183aaecaf7bc82b1345b6fd40bfc5.zip
sem_scopes: improve debug procedure.
-rw-r--r--src/vhdl/sem_scopes.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vhdl/sem_scopes.adb b/src/vhdl/sem_scopes.adb
index 0d87c9584..91408554b 100644
--- a/src/vhdl/sem_scopes.adb
+++ b/src/vhdl/sem_scopes.adb
@@ -1499,8 +1499,10 @@ package body Sem_Scopes is
if Is_Potentially_Visible (Inter) then
Put (" (use)");
end if;
- Put (": ");
+ Put (":");
Decl := Get_Declaration (Inter);
+ Put (Iir'Image (Decl));
+ Put (':');
Put (Iir_Kind'Image (Get_Kind (Decl)));
Put_Line (", loc: " & Image (Get_Location (Decl)));
if Get_Kind (Decl) in Iir_Kinds_Subprogram_Declaration then