diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-10-22 21:16:58 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-10-23 18:41:51 +0200 |
commit | c79e9025912c8df857141ce45080a9e779b4aa20 (patch) | |
tree | 03e374047b1847c7d71dc18711e7201bde42be13 /src/vhdl | |
parent | 98f8cefe74f241a660358f5fdf87a71a7ad29170 (diff) | |
download | ghdl-c79e9025912c8df857141ce45080a9e779b4aa20.tar.gz ghdl-c79e9025912c8df857141ce45080a9e779b4aa20.tar.bz2 ghdl-c79e9025912c8df857141ce45080a9e779b4aa20.zip |
vhdl-annotations: handle some declarations in vunits.
Diffstat (limited to 'src/vhdl')
-rw-r--r-- | src/vhdl/vhdl-annotations.adb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-annotations.adb b/src/vhdl/vhdl-annotations.adb index 660a5001d..0ffd61e69 100644 --- a/src/vhdl/vhdl-annotations.adb +++ b/src/vhdl/vhdl-annotations.adb @@ -1185,6 +1185,12 @@ package body Vhdl.Annotations is | Iir_Kind_Psl_Cover_Directive | Iir_Kind_Psl_Restrict_Directive => null; + when Iir_Kind_Signal_Declaration + | Iir_Kind_Function_Declaration + | Iir_Kind_Procedure_Declaration + | Iir_Kind_Function_Body + | Iir_Kind_Procedure_Body => + Annotate_Declaration (Vunit_Info, Item); when others => Error_Kind ("annotate_vunit_declaration", Item); end case; |