aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-sem_expr.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2023-05-01 10:11:41 +0200
committerTristan Gingold <tgingold@free.fr>2023-05-01 10:11:41 +0200
commit5c6d5048c222e06cab457dc5f2dc9035bd9a05d6 (patch)
treeebc5dfefb5b7d9746cde81a4b1fbeeeeee748773 /src/vhdl/vhdl-sem_expr.ads
parentae9bcf634f5a556a3768adb866df82435e20fb10 (diff)
downloadghdl-5c6d5048c222e06cab457dc5f2dc9035bd9a05d6.tar.gz
ghdl-5c6d5048c222e06cab457dc5f2dc9035bd9a05d6.tar.bz2
ghdl-5c6d5048c222e06cab457dc5f2dc9035bd9a05d6.zip
vhdl-sem_expr: adjust check of aggregate range
For #2422
Diffstat (limited to 'src/vhdl/vhdl-sem_expr.ads')
-rw-r--r--src/vhdl/vhdl-sem_expr.ads3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vhdl/vhdl-sem_expr.ads b/src/vhdl/vhdl-sem_expr.ads
index 19b817e67..4c9f11695 100644
--- a/src/vhdl/vhdl-sem_expr.ads
+++ b/src/vhdl/vhdl-sem_expr.ads
@@ -205,9 +205,8 @@ package Vhdl.Sem_Expr is
-- Check that the values of CHOICE_CHAIN are a continuous range, and
-- extract the lower LOW and upper HIGH bound (useful to create the
-- corresponding subtype). The values must be of type SUB_TYPE, and if
- -- IS_SUB_RANGE True, they must be within SUB_TYPE.
+ -- IS_SUB_RANGE is False, they must be within SUB_TYPE.
-- The choices must be locally static.
- -- If REORDER_CHOICES is true, CHOICE_CHAIN is ordered.
procedure Sem_Check_Continuous_Choices (Choice_Chain : Iir;
Choice_Type : Iir;
Low : out Iir;