aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-ieee-math_real.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-06-10 06:36:49 +0200
committerTristan Gingold <tgingold@free.fr>2022-06-11 15:02:48 +0200
commitbb357cf03c7e956db1539712fd64353b6d87872d (patch)
tree4a78aaec7fad9a0e9400270cf337a75b31832920 /src/vhdl/vhdl-ieee-math_real.adb
parentafeb3e1a54881dd3ae0a1bd4e01f1ef46f9ef0f6 (diff)
downloadghdl-bb357cf03c7e956db1539712fd64353b6d87872d.tar.gz
ghdl-bb357cf03c7e956db1539712fd64353b6d87872d.tar.bz2
ghdl-bb357cf03c7e956db1539712fd64353b6d87872d.zip
vhdl: recognize ieee.math_real.sign, fix is_x recogn.
Diffstat (limited to 'src/vhdl/vhdl-ieee-math_real.adb')
-rw-r--r--src/vhdl/vhdl-ieee-math_real.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-ieee-math_real.adb b/src/vhdl/vhdl-ieee-math_real.adb
index 1881bb322..d52b8ae85 100644
--- a/src/vhdl/vhdl-ieee-math_real.adb
+++ b/src/vhdl/vhdl-ieee-math_real.adb
@@ -40,6 +40,8 @@ package body Vhdl.Ieee.Math_Real is
when Iir_Kind_Function_Declaration =>
Def := Iir_Predefined_None;
case Get_Identifier (Decl) is
+ when Name_Sign =>
+ Def := Iir_Predefined_Ieee_Math_Real_Sign;
when Name_Mod =>
Def := Iir_Predefined_Ieee_Math_Real_Mod;
when Name_Ceil =>