From 5fb9fbc5a3244ea45db141e59cdccb9a3e000fdc Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 22 Sep 2018 13:51:46 +0200 Subject: Add Warnid_Static, detect incorrect use of others in aggregate. --- src/vhdl/sem_expr.ads | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/vhdl/sem_expr.ads') diff --git a/src/vhdl/sem_expr.ads b/src/vhdl/sem_expr.ads index 5c976ac72..15ae1da39 100644 --- a/src/vhdl/sem_expr.ads +++ b/src/vhdl/sem_expr.ads @@ -156,7 +156,8 @@ package Sem_Expr is Annex_Arr : Annex_Array_Acc; end record; - -- Compute the number of locally static choices and set Has_Others. + -- Compute the number of locally static choices (excluding others) and + -- set Has_Others. procedure Count_Choices (Info : out Choice_Info_Type; Choice_Chain : Iir); -- Allocate and fill INFO.ARR. -- cgit v1.2.3