diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-08-26 08:07:34 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-08-26 08:07:34 +0200 |
commit | 8e84ebdf517fde66db0659245b88319f4da25a72 (patch) | |
tree | 5722770aa8e0c1bf7b593858d81d4e4ae48f37b8 /src/psl/psl-nodes.adb | |
parent | 3f7df930ee09c5dd259a5e40eeb5e824971197d0 (diff) | |
download | ghdl-8e84ebdf517fde66db0659245b88319f4da25a72.tar.gz ghdl-8e84ebdf517fde66db0659245b88319f4da25a72.tar.bz2 ghdl-8e84ebdf517fde66db0659245b88319f4da25a72.zip |
PSL: handle inf in star repeat sequence. Fix #1832
Diffstat (limited to 'src/psl/psl-nodes.adb')
-rw-r--r-- | src/psl/psl-nodes.adb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/psl/psl-nodes.adb b/src/psl/psl-nodes.adb index 6d392150b..108dfe7b2 100644 --- a/src/psl/psl-nodes.adb +++ b/src/psl/psl-nodes.adb @@ -391,7 +391,8 @@ package body PSL.Nodes is | N_HDL_Bool => return Type_Boolean; when N_Number - | N_Const_Parameter => + | N_Const_Parameter + | N_Inf => return Type_Numeric; when N_Vmode | N_Vunit @@ -482,6 +483,7 @@ package body PSL.Nodes is | N_EOS | N_Name | N_Name_Decl + | N_Inf | N_Number => return Format_Short; end case; |