From 5f1628d8f2bd22eac902378db65ec3280b5f1c51 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 16 Jun 2022 05:41:07 +0200 Subject: vhdl-sem_expr: do not attribute element or subtype attributes as expr. For #2097 --- src/vhdl/vhdl-sem_expr.adb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/vhdl/vhdl-sem_expr.adb b/src/vhdl/vhdl-sem_expr.adb index ceb7af3b3..596638464 100644 --- a/src/vhdl/vhdl-sem_expr.adb +++ b/src/vhdl/vhdl-sem_expr.adb @@ -398,6 +398,8 @@ package body Vhdl.Sem_Expr is | Iir_Kind_Procedure_Declaration | Iir_Kind_Range_Array_Attribute | Iir_Kind_Reverse_Range_Array_Attribute + | Iir_Kind_Subtype_Attribute + | Iir_Kind_Element_Attribute | Iir_Kind_Element_Declaration | Iir_Kind_Attribute_Declaration | Iir_Kind_Psl_Declaration -- cgit v1.2.3