aboutsummaryrefslogtreecommitdiffstats
path: root/sem_decls.ads
diff options
context:
space:
mode:
authorgingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7>2005-11-01 03:04:50 +0000
committergingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7>2005-11-01 03:04:50 +0000
commitefb30b021679ac1334e1d4fdffa073eaaa082a51 (patch)
tree662fd4ed6a0ef3fb8e0f2e214d676f5720416c04 /sem_decls.ads
parent1f7fba5473ed7e609d46ee9b75b738be92a28b86 (diff)
downloadghdl-efb30b021679ac1334e1d4fdffa073eaaa082a51.tar.gz
ghdl-efb30b021679ac1334e1d4fdffa073eaaa082a51.tar.bz2
ghdl-efb30b021679ac1334e1d4fdffa073eaaa082a51.zip
update: support of amd64 + more optimizations
Diffstat (limited to 'sem_decls.ads')
-rw-r--r--sem_decls.ads5
1 files changed, 4 insertions, 1 deletions
diff --git a/sem_decls.ads b/sem_decls.ads
index c8dede1a1..dfd389ff1 100644
--- a/sem_decls.ads
+++ b/sem_decls.ads
@@ -32,7 +32,10 @@ package Sem_Decls is
(Decl : Iir; Is_Std_Standard : Boolean := False);
-- Semantize declarations of PARENT.
- procedure Sem_Declaration_Chain (Parent : Iir);
+ -- If IS_GLOBAL is set, then declarations may be seen outside of the units.
+ -- This must be set for entities and packages (except when
+ -- Flags.Flag_Whole_Analyze is set).
+ procedure Sem_Declaration_Chain (Parent : Iir; Is_Global : Boolean);
-- Check all declarations of DECLS_PARENT are complete
-- This checks subprograms, deferred constants, incomplete types and