summaryrefslogtreecommitdiff
path: root/src/ortho/ortho_nodes.common.ads
diff options
context:
space:
mode:
authorTristan Gingold2015-06-12 08:03:24 +0200
committerTristan Gingold2015-06-12 08:03:24 +0200
commit8a3f67db595be25637b4edc65f18138b48ccdac6 (patch)
tree7988fec65793fd9b71a9030a42839f40879f5cbf /src/ortho/ortho_nodes.common.ads
parente726be425740402ab57e91a66d2cd8b812974bf4 (diff)
downloadghdl-8a3f67db595be25637b4edc65f18138b48ccdac6.tar.gz
ghdl-8a3f67db595be25637b4edc65f18138b48ccdac6.tar.bz2
ghdl-8a3f67db595be25637b4edc65f18138b48ccdac6.zip
ortho: allow selected element from an union.
Minor cleanups.
Diffstat (limited to 'src/ortho/ortho_nodes.common.ads')
-rw-r--r--src/ortho/ortho_nodes.common.ads4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ortho/ortho_nodes.common.ads b/src/ortho/ortho_nodes.common.ads
index 1781874..f9caf32 100644
--- a/src/ortho/ortho_nodes.common.ads
+++ b/src/ortho/ortho_nodes.common.ads
@@ -284,8 +284,8 @@ package ORTHO_NODES is
function New_Slice (Arr : O_Lnode; Res_Type : O_Tnode; Index : O_Enode)
return O_Lnode;
- -- Get an element of a record.
- -- Type of REC must be a record type.
+ -- Get an element of a record or a union.
+ -- Type of REC must be a record or a union type.
function New_Selected_Element (Rec : O_Lnode; El : O_Fnode)
return O_Lnode;