aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/sem_expr.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-09-22 13:51:46 +0200
committerTristan Gingold <tgingold@free.fr>2018-09-22 13:51:46 +0200
commit5fb9fbc5a3244ea45db141e59cdccb9a3e000fdc (patch)
treea49f566bf5d4fa884982cbf5c2c77b374c3f1a70 /src/vhdl/sem_expr.ads
parent2ee2550e1271f35e4ab7effb453252bcb7aa900f (diff)
downloadghdl-5fb9fbc5a3244ea45db141e59cdccb9a3e000fdc.tar.gz
ghdl-5fb9fbc5a3244ea45db141e59cdccb9a3e000fdc.tar.bz2
ghdl-5fb9fbc5a3244ea45db141e59cdccb9a3e000fdc.zip
Add Warnid_Static, detect incorrect use of others in aggregate.
Diffstat (limited to 'src/vhdl/sem_expr.ads')
-rw-r--r--src/vhdl/sem_expr.ads3
1 files changed, 2 insertions, 1 deletions
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.