diff options
author | gingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7> | 2008-08-31 02:22:57 +0000 |
---|---|---|
committer | gingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7> | 2008-08-31 02:22:57 +0000 |
commit | b42e36e23f23a0d27e7b08d6cb4461237720de3b (patch) | |
tree | 05c59df8138658b9f811510264c32bb753123bc0 /sem.adb | |
parent | 1d5464fd378387a0e17021af24065784ea66bb47 (diff) | |
download | ghdl-b42e36e23f23a0d27e7b08d6cb4461237720de3b.tar.gz ghdl-b42e36e23f23a0d27e7b08d6cb4461237720de3b.tar.bz2 ghdl-b42e36e23f23a0d27e7b08d6cb4461237720de3b.zip |
Create package options from flags to avoid circular elaboration
Diffstat (limited to 'sem.adb')
-rw-r--r-- | sem.adb | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -27,7 +27,7 @@ with Sem_Specs; use Sem_Specs; with Sem_Decls; use Sem_Decls; with Sem_Assocs; use Sem_Assocs; with Iirs_Utils; use Iirs_Utils; -with Flags; +with Flags; use Flags; with Name_Table; with Str_Table; with Sem_Stmts; use Sem_Stmts; @@ -197,11 +197,11 @@ package body Sem is -- considered to occur immediatly within the declarative region -- associated with the entity declaration corresponding to the given -- architecture body. - if Flags.Vhdl_Std >= Vhdl_02 then + if Vhdl_Std >= Vhdl_02 then Open_Declarative_Region; end if; Sem_Block (Arch, True); - if Flags.Vhdl_Std >= Vhdl_02 then + if Vhdl_Std >= Vhdl_02 then Close_Declarative_Region; end if; |