diff options
Diffstat (limited to 'errorout.adb')
-rw-r--r-- | errorout.adb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/errorout.adb b/errorout.adb index 404c91f37..e6a9a94a3 100644 --- a/errorout.adb +++ b/errorout.adb @@ -523,6 +523,10 @@ package body Errorout is return "PSL instantiation"; when Iir_Kind_Constant_Interface_Declaration => + if Get_Parent (Node) = Null_Iir then + -- For constant interface of predefined operator. + return "anonymous interface"; + end if; case Get_Kind (Get_Parent (Node)) is when Iir_Kind_Entity_Declaration | Iir_Kind_Block_Statement |