diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-05-07 21:02:46 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-05-07 21:02:46 +0200 |
commit | e71f9e8713f72f6af4bc83c6675dfba5158c1898 (patch) | |
tree | 0bb3837a403af12d81fb22727d90ae5206a76b6b /src/vhdl | |
parent | 34666ab2dc542936871357d4fe6f54600c5aa325 (diff) | |
download | ghdl-e71f9e8713f72f6af4bc83c6675dfba5158c1898.tar.gz ghdl-e71f9e8713f72f6af4bc83c6675dfba5158c1898.tar.bz2 ghdl-e71f9e8713f72f6af4bc83c6675dfba5158c1898.zip |
vhdl: handle attributes in psl expressions. Fix #813
Diffstat (limited to 'src/vhdl')
-rw-r--r-- | src/vhdl/vhdl-sem_psl.adb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-sem_psl.adb b/src/vhdl/vhdl-sem_psl.adb index 9dede6e06..994c1b833 100644 --- a/src/vhdl/vhdl-sem_psl.adb +++ b/src/vhdl/vhdl-sem_psl.adb @@ -199,7 +199,8 @@ package body Vhdl.Sem_Psl is return Res; when Iir_Kind_Function_Call | Iir_Kind_Indexed_Name - | Iir_Kind_Selected_Element => + | Iir_Kind_Selected_Element + | Iir_Kinds_Expression_Attribute => Expr := Name; when others => Expr := Name_To_Expression (Expr, Null_Iir); |