diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-06-16 05:41:07 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-06-16 05:41:07 +0200 |
commit | 5f1628d8f2bd22eac902378db65ec3280b5f1c51 (patch) | |
tree | d12d3ac8719d0fb4dc938dda0fe8ffe374befe64 | |
parent | a85641c47827cb10ca07ff6dee9c49bf67d5757d (diff) | |
download | ghdl-5f1628d8f2bd22eac902378db65ec3280b5f1c51.tar.gz ghdl-5f1628d8f2bd22eac902378db65ec3280b5f1c51.tar.bz2 ghdl-5f1628d8f2bd22eac902378db65ec3280b5f1c51.zip |
vhdl-sem_expr: do not attribute element or subtype attributes as expr.
For #2097
-rw-r--r-- | src/vhdl/vhdl-sem_expr.adb | 2 |
1 files changed, 2 insertions, 0 deletions
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 |