diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-01-17 06:53:01 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-01-19 19:54:40 +0100 |
commit | 1e2aeb2a4635f24c60384232e319b682b0d99f3c (patch) | |
tree | f0717eb0065cc1adbd397e69957959826d809a81 /src/vhdl/sem_decls.adb | |
parent | 8e2468448947c7e1567cc50035a483c2ebd7b9d9 (diff) | |
download | ghdl-1e2aeb2a4635f24c60384232e319b682b0d99f3c.tar.gz ghdl-1e2aeb2a4635f24c60384232e319b682b0d99f3c.tar.bz2 ghdl-1e2aeb2a4635f24c60384232e319b682b0d99f3c.zip |
Clean up some code and comments about constant declarations.
Diffstat (limited to 'src/vhdl/sem_decls.adb')
-rw-r--r-- | src/vhdl/sem_decls.adb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/vhdl/sem_decls.adb b/src/vhdl/sem_decls.adb index a155b6f94..f70566ace 100644 --- a/src/vhdl/sem_decls.adb +++ b/src/vhdl/sem_decls.adb @@ -3042,11 +3042,6 @@ package body Sem_Decls is if Get_Deferred_Declaration (El) = Null_Iir then Error_Msg_Sem ("missing value for constant declared at " & Disp_Location (El), Decl); - else - -- Remove from visibility the full declaration of the - -- constant. - -- FIXME: this is not a check! - Set_Deferred_Declaration (El, Null_Iir); end if; end if; when Iir_Kind_Function_Declaration |