aboutsummaryrefslogtreecommitdiffstats
path: root/sem_decls.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2014-01-04 01:53:37 +0100
committerTristan Gingold <tgingold@free.fr>2014-01-04 01:53:37 +0100
commit82c9bea16076114ff474defcc606db041ff0c5b0 (patch)
tree544c69f60d700b761cfdd9524629da1c75a12693 /sem_decls.ads
parent7fd6fa6d4109a177a823c6c6f5ac3137977b075f (diff)
downloadghdl-82c9bea16076114ff474defcc606db041ff0c5b0.tar.gz
ghdl-82c9bea16076114ff474defcc606db041ff0c5b0.tar.bz2
ghdl-82c9bea16076114ff474defcc606db041ff0c5b0.zip
sem_discrete_range_expression: be sure the range is discrete.
Allow attribute specifications on statements in entities. (and a couples of minor crashes).
Diffstat (limited to 'sem_decls.ads')
-rw-r--r--sem_decls.ads5
1 files changed, 1 insertions, 4 deletions
diff --git a/sem_decls.ads b/sem_decls.ads
index da4020b6c..dcc114b5b 100644
--- a/sem_decls.ads
+++ b/sem_decls.ads
@@ -32,10 +32,7 @@ package Sem_Decls is
(Decl : Iir; Is_Std_Standard : Boolean := False);
-- Semantize declarations of PARENT.
- -- 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);
+ procedure Sem_Declaration_Chain (Parent : Iir);
-- Check all declarations of DECLS_PARENT are complete
-- This checks subprograms, deferred constants, incomplete types and