diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-09-17 09:59:06 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-09-17 09:59:06 +0200 |
commit | 1a0be9f1468ef003db9af51a3ac73d2f1e6ab61a (patch) | |
tree | c099ebdf77926b935945ed34bc18d0394eb2a7c6 /src/synth/elab-vhdl_types.ads | |
parent | 432fc6fbf1a4d3ae9ec8a79d8adae93c07b6c3b9 (diff) | |
download | ghdl-1a0be9f1468ef003db9af51a3ac73d2f1e6ab61a.tar.gz ghdl-1a0be9f1468ef003db9af51a3ac73d2f1e6ab61a.tar.bz2 ghdl-1a0be9f1468ef003db9af51a3ac73d2f1e6ab61a.zip |
synth: handle incomplete types
Diffstat (limited to 'src/synth/elab-vhdl_types.ads')
-rw-r--r-- | src/synth/elab-vhdl_types.ads | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/synth/elab-vhdl_types.ads b/src/synth/elab-vhdl_types.ads index 5f8bbab0e..30591e8da 100644 --- a/src/synth/elab-vhdl_types.ads +++ b/src/synth/elab-vhdl_types.ads @@ -64,6 +64,12 @@ package Elab.Vhdl_Types is procedure Elab_Anonymous_Type_Definition (Syn_Inst : Synth_Instance_Acc; Def : Node; St : Node); + -- Complete incomplete type definition INCOMP. + -- DES_DEF is the complete designated type. + procedure Elab_Incomplete_Type_Finish (Syn_Inst : Synth_Instance_Acc; + Incomp : Node; + Des_Def : Node); + -- Exported only for Vhdl.Evaluation to create temporary types. function Elab_Enumeration_Type_Definition (Def : Node) return Type_Acc; function Elab_Scalar_Type_Definition (Def : Node; St : Node) |