aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-annotations.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-05-29 19:55:36 +0200
committerTristan Gingold <tgingold@free.fr>2022-05-29 19:55:36 +0200
commit6607215b4ba19e42c2599cfa5c0313768013b845 (patch)
tree454d6e7cd2e4c7fa0ebc6f8d4c5d51cbdadbe24c /src/vhdl/vhdl-annotations.adb
parent232c0f8c2bdedc3d54988f80502007315757f16c (diff)
downloadghdl-6607215b4ba19e42c2599cfa5c0313768013b845.tar.gz
ghdl-6607215b4ba19e42c2599cfa5c0313768013b845.tar.bz2
ghdl-6607215b4ba19e42c2599cfa5c0313768013b845.zip
synth-vhdl_eval: handle more operations
Diffstat (limited to 'src/vhdl/vhdl-annotations.adb')
-rw-r--r--src/vhdl/vhdl-annotations.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-annotations.adb b/src/vhdl/vhdl-annotations.adb
index 07ada1735..21224fe0e 100644
--- a/src/vhdl/vhdl-annotations.adb
+++ b/src/vhdl/vhdl-annotations.adb
@@ -779,7 +779,7 @@ package body Vhdl.Annotations is
when Iir_Kind_Function_Declaration
| Iir_Kind_Procedure_Declaration =>
if (Get_Implicit_Definition (Decl)
- not in Iir_Predefined_Pure_Functions)
+ not in Iir_Predefined_Operators)
and then not Is_Second_Subprogram_Specification (Decl)
then
Annotate_Subprogram_Interfaces_Type (Block_Info, Decl);