diff options
author | Tristan Gingold <tgingold@free.fr> | 2023-01-11 05:18:46 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2023-01-11 05:18:46 +0100 |
commit | bccafab9f706394f70cdf88dfbe12f711ead415c (patch) | |
tree | 4d2c791af4c4238a80b52b32baec56ac50345311 /src | |
parent | 3e223e1a0e07bc3c8c42cb2188c667cd6ea064fd (diff) | |
download | ghdl-bccafab9f706394f70cdf88dfbe12f711ead415c.tar.gz ghdl-bccafab9f706394f70cdf88dfbe12f711ead415c.tar.bz2 ghdl-bccafab9f706394f70cdf88dfbe12f711ead415c.zip |
synth: allow file declaration in protected objects
Diffstat (limited to 'src')
-rw-r--r-- | src/synth/synth-vhdl_decls.adb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/synth/synth-vhdl_decls.adb b/src/synth/synth-vhdl_decls.adb index 5c9e62f37..f0c521c63 100644 --- a/src/synth/synth-vhdl_decls.adb +++ b/src/synth/synth-vhdl_decls.adb @@ -420,7 +420,8 @@ package body Synth.Vhdl_Decls is when Iir_Kind_Type_Declaration | Iir_Kind_Anonymous_Type_Declaration | Iir_Kind_Subtype_Declaration - | Iir_Kind_Variable_Declaration => + | Iir_Kind_Variable_Declaration + | Iir_Kind_File_Declaration => Elab.Vhdl_Decls.Elab_Declaration (Obj_Inst, Decl, True, Last_Type); when Iir_Kind_Function_Declaration |