diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-06-01 08:27:11 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-06-01 08:27:11 +0200 |
commit | d973dea41f3d5c7f9484657ba252296847894c20 (patch) | |
tree | 6e339face28d45144f6f4ccc8260d08203a87d35 /src | |
parent | 15ca98bf288a74e310702d5a5fb48bab6c428891 (diff) | |
download | ghdl-d973dea41f3d5c7f9484657ba252296847894c20.tar.gz ghdl-d973dea41f3d5c7f9484657ba252296847894c20.tar.bz2 ghdl-d973dea41f3d5c7f9484657ba252296847894c20.zip |
vhdl-ieee-std_logic_1164: recognize to_hstring, to_ostring
Diffstat (limited to 'src')
-rw-r--r-- | src/vhdl/vhdl-ieee-std_logic_1164.adb | 4 | ||||
-rw-r--r-- | src/vhdl/vhdl-nodes.ads | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-ieee-std_logic_1164.adb b/src/vhdl/vhdl-ieee-std_logic_1164.adb index 43c20dc79..4b98cf026 100644 --- a/src/vhdl/vhdl-ieee-std_logic_1164.adb +++ b/src/vhdl/vhdl-ieee-std_logic_1164.adb @@ -376,6 +376,10 @@ package body Vhdl.Ieee.Std_Logic_1164 is elsif Is_Scalar_Function (Decl) then Predefined := Iir_Predefined_Ieee_1164_To_X01_Log; end if; + when Name_To_Hstring => + Predefined := Iir_Predefined_Ieee_1164_To_Hstring; + when Name_To_Ostring => + Predefined := Iir_Predefined_Ieee_1164_To_Ostring; when others => if Is_Scalar_Scalar_Function (Decl) then case Get_Identifier (Decl) is diff --git a/src/vhdl/vhdl-nodes.ads b/src/vhdl/vhdl-nodes.ads index ae92272e1..fc36dd35e 100644 --- a/src/vhdl/vhdl-nodes.ads +++ b/src/vhdl/vhdl-nodes.ads @@ -5704,6 +5704,9 @@ package Vhdl.Nodes is Iir_Predefined_Ieee_1164_Condition_Operator, + Iir_Predefined_Ieee_1164_To_Hstring, + Iir_Predefined_Ieee_1164_To_Ostring, + -- Numeric_Std. -- Abbreviations: -- Uns: Unsigned, Sgn: Signed, Nat: Natural, Int: Integer. |