aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho/mcode/ortho_mcode.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-11-16 04:43:41 +0100
committerTristan Gingold <tgingold@free.fr>2017-11-16 05:11:39 +0100
commit7414046cc73ecc16bfa2ce3af3cb529195ce120f (patch)
tree97adafa9b32725c2e92b280f005ff31da38655d6 /src/ortho/mcode/ortho_mcode.ads
parent9a8b35ac990386252bfb4e65f76acaa739d7967c (diff)
downloadghdl-7414046cc73ecc16bfa2ce3af3cb529195ce120f.tar.gz
ghdl-7414046cc73ecc16bfa2ce3af3cb529195ce120f.tar.bz2
ghdl-7414046cc73ecc16bfa2ce3af3cb529195ce120f.zip
mcode: add new_default_value.
Diffstat (limited to 'src/ortho/mcode/ortho_mcode.ads')
-rw-r--r--src/ortho/mcode/ortho_mcode.ads4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ortho/mcode/ortho_mcode.ads b/src/ortho/mcode/ortho_mcode.ads
index ec65fab5c..dda220f1c 100644
--- a/src/ortho/mcode/ortho_mcode.ads
+++ b/src/ortho/mcode/ortho_mcode.ads
@@ -145,6 +145,10 @@ package Ortho_Mcode is
-- Create a null access literal.
function New_Null_Access (Ltype : O_Tnode) return O_Cnode;
+ -- Create a literal with default (null) values. Can only be used to
+ -- define the initial value of a static decalaration.
+ function New_Default_Value (Ltype : O_Tnode) return O_Cnode;
+
-- Build a record/array aggregate.
-- The aggregate is constant, and therefore can be only used to initialize
-- constant declaration.