diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-06-19 06:40:48 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-06-19 06:40:48 +0200 |
commit | 3a9ebc277637dcfc029038caf6b37fb7580d409d (patch) | |
tree | 95a9a578e65558b6421909e423db3c381248bf26 /src/vhdl/translate/translation.adb | |
parent | a3524ea3265ab4c135d1fa3461466ba0a7d8dfac (diff) | |
download | ghdl-3a9ebc277637dcfc029038caf6b37fb7580d409d.tar.gz ghdl-3a9ebc277637dcfc029038caf6b37fb7580d409d.tar.bz2 ghdl-3a9ebc277637dcfc029038caf6b37fb7580d409d.zip |
Delay translation of default configuration.
Fix #606
Diffstat (limited to 'src/vhdl/translate/translation.adb')
-rw-r--r-- | src/vhdl/translate/translation.adb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vhdl/translate/translation.adb b/src/vhdl/translate/translation.adb index 69b63abee..5c39283e3 100644 --- a/src/vhdl/translate/translation.adb +++ b/src/vhdl/translate/translation.adb @@ -332,6 +332,7 @@ package body Translation is Push_Identifier_Prefix (Mark_Arch, Get_Identifier (Arch)); Push_Identifier_Prefix (Mark, Name_Table.Get_Identifier ("DEFAULT_CONFIG")); + -- Spec is built during translation of architecture. Chap1.Translate_Configuration_Declaration_Body (Lib_Unit); Pop_Identifier_Prefix (Mark); Pop_Identifier_Prefix (Mark_Arch); |