aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-sem_scopes.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-12-29 18:59:03 +0100
committerTristan Gingold <tgingold@free.fr>2019-12-29 18:59:03 +0100
commit2d835b7e171093b894aae52f54e1b3cfd373a5fe (patch)
tree0892083c287ad706cc7826e1cdd9574f44451e80 /src/vhdl/vhdl-sem_scopes.adb
parent67557e4b9edfe08fc4dfabec790a8301e06762fd (diff)
downloadghdl-2d835b7e171093b894aae52f54e1b3cfd373a5fe.tar.gz
ghdl-2d835b7e171093b894aae52f54e1b3cfd373a5fe.tar.bz2
ghdl-2d835b7e171093b894aae52f54e1b3cfd373a5fe.zip
vhdl-ams: fix tree consistency for subnature declaration.
Also fix use and canon for it.
Diffstat (limited to 'src/vhdl/vhdl-sem_scopes.adb')
-rw-r--r--src/vhdl/vhdl-sem_scopes.adb5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/vhdl/vhdl-sem_scopes.adb b/src/vhdl/vhdl-sem_scopes.adb
index 3e4633a58..c7c2c5f7c 100644
--- a/src/vhdl/vhdl-sem_scopes.adb
+++ b/src/vhdl/vhdl-sem_scopes.adb
@@ -1018,9 +1018,8 @@ package body Vhdl.Sem_Scopes is
| Iir_Kind_Group_Template_Declaration
| Iir_Kind_Group_Declaration
| Iir_Kind_Nature_Declaration
- | Iir_Kind_Free_Quantity_Declaration
- | Iir_Kind_Through_Quantity_Declaration
- | Iir_Kind_Across_Quantity_Declaration
+ | Iir_Kind_Subnature_Declaration
+ | Iir_Kinds_Quantity_Declaration
| Iir_Kind_Terminal_Declaration
| Iir_Kind_Entity_Declaration
| Iir_Kind_Package_Declaration