diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-11-30 21:01:40 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-12-01 12:41:52 +0100 |
commit | 8b2278144ed90af6e5ce99401ea8af51e0b0deff (patch) | |
tree | 4fc5d91476a25b3b470f90c4bd44008207002a30 | |
parent | dd77ee6766bbd16e3fbbf8c64c37b656c6a84922 (diff) | |
download | ghdl-8b2278144ed90af6e5ce99401ea8af51e0b0deff.tar.gz ghdl-8b2278144ed90af6e5ce99401ea8af51e0b0deff.tar.bz2 ghdl-8b2278144ed90af6e5ce99401ea8af51e0b0deff.zip |
sem_psl: do not crash on selected element.
-rw-r--r-- | src/vhdl/sem_psl.adb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vhdl/sem_psl.adb b/src/vhdl/sem_psl.adb index cc2512e60..61cbe4d3a 100644 --- a/src/vhdl/sem_psl.adb +++ b/src/vhdl/sem_psl.adb @@ -197,7 +197,8 @@ package body Sem_Psl is Free_Iir (Name); end if; return Res; - when Iir_Kind_Function_Call => + when Iir_Kind_Function_Call + | Iir_Kind_Selected_Element => Expr := Name; when others => Expr := Name_To_Expression (Expr, Null_Iir); |