aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/std_package.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/std_package.adb')
-rw-r--r--src/vhdl/std_package.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vhdl/std_package.adb b/src/vhdl/std_package.adb
index a52c2be8c..8143d9c63 100644
--- a/src/vhdl/std_package.adb
+++ b/src/vhdl/std_package.adb
@@ -143,8 +143,10 @@ package body Std_Package is
begin
Res := Create_Std_Iir (Iir_Kind_Range_Expression);
Set_Left_Limit (Res, Left);
+ Set_Left_Limit_Expr (Res, Left);
Set_Direction (Res, Iir_To);
Set_Right_Limit (Res, Right);
+ Set_Right_Limit_Expr (Res, Right);
Set_Expr_Staticness (Res, Locally);
Set_Type (Res, Rtype);
return Res;