aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/parse.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/parse.adb')
-rw-r--r--src/vhdl/parse.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vhdl/parse.adb b/src/vhdl/parse.adb
index 00ec78fb8..1bcb66e78 100644
--- a/src/vhdl/parse.adb
+++ b/src/vhdl/parse.adb
@@ -291,7 +291,7 @@ package body Parse is
Res : Iir;
begin
Res := Create_Iir (Iir_Kind_Range_Expression);
- Set_Left_Limit (Res, Left);
+ Set_Left_Limit_Expr (Res, Left);
Location_Copy (Res, Left);
case Current_Token is
@@ -306,7 +306,7 @@ package body Parse is
-- Skip TO or DOWNTO.
Scan;
- Set_Right_Limit (Res, Parse_Simple_Expression);
+ Set_Right_Limit_Expr (Res, Parse_Simple_Expression);
return Res;
end Parse_Range_Expression;