diff options
author | Tristan Gingold <tgingold@free.fr> | 2014-06-28 03:47:31 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2014-06-28 03:47:31 +0200 |
commit | cde6aede1c8851fa0b64e548c5b9a391c1d6af8a (patch) | |
tree | 2f06ba4433b24d32e2c0dec7de3af2b06483af70 /sem_expr.ads | |
parent | 218d1abbe771abb57a91f17eb4ce9395df86ad67 (diff) | |
download | ghdl-cde6aede1c8851fa0b64e548c5b9a391c1d6af8a.tar.gz ghdl-cde6aede1c8851fa0b64e548c5b9a391c1d6af8a.tar.bz2 ghdl-cde6aede1c8851fa0b64e548c5b9a391c1d6af8a.zip |
Resolve expression in variable assignment when target is an aggregate.
Diffstat (limited to 'sem_expr.ads')
-rw-r--r-- | sem_expr.ads | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sem_expr.ads b/sem_expr.ads index 3304923c7..d8c006b95 100644 --- a/sem_expr.ads +++ b/sem_expr.ads @@ -69,6 +69,11 @@ package Sem_Expr is -- A check is made that COND can be read. function Sem_Condition (Cond : Iir) return Iir; + -- Same as Sem_Expression but knowing that the type of EXPR must be a + -- composite type. Used for expressions in assignment statement when the + -- target is an aggregate. + function Sem_Composite_Expression (Expr : Iir) return Iir; + -- Check EXPR can be read. procedure Check_Read (Expr : Iir); |