diff options
author | Tristan Gingold <tgingold@free.fr> | 2023-01-11 05:42:45 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2023-01-11 05:42:45 +0100 |
commit | 9e33bb7142f7bfcec6260426f92b6f5fe372a765 (patch) | |
tree | 3f0404cf32740f3881666db5c010994cc03bfa2f /src/synth | |
parent | bf27a800fb066a282b9f612be293bd02a5bb0545 (diff) | |
download | ghdl-9e33bb7142f7bfcec6260426f92b6f5fe372a765.tar.gz ghdl-9e33bb7142f7bfcec6260426f92b6f5fe372a765.tar.bz2 ghdl-9e33bb7142f7bfcec6260426f92b6f5fe372a765.zip |
synth: support constant declarations in protected types
Diffstat (limited to 'src/synth')
-rw-r--r-- | src/synth/synth-vhdl_decls.adb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/synth/synth-vhdl_decls.adb b/src/synth/synth-vhdl_decls.adb index f0c521c63..593452083 100644 --- a/src/synth/synth-vhdl_decls.adb +++ b/src/synth/synth-vhdl_decls.adb @@ -420,6 +420,7 @@ package body Synth.Vhdl_Decls is when Iir_Kind_Type_Declaration | Iir_Kind_Anonymous_Type_Declaration | Iir_Kind_Subtype_Declaration + | Iir_Kind_Constant_Declaration | Iir_Kind_Variable_Declaration | Iir_Kind_File_Declaration => Elab.Vhdl_Decls.Elab_Declaration |