summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Gingold2014-01-04 01:49:11 +0100
committerTristan Gingold2014-01-04 01:49:11 +0100
commita49adc19a75f55a330c4414e7584fd00f44171e5 (patch)
treec2eb9e1fc825e54dd9a9d7e7741d65dabc1d874b
parentb1e062e701d5b225eed88691e95c747930482297 (diff)
downloadghdl-a49adc19a75f55a330c4414e7584fd00f44171e5.tar.gz
ghdl-a49adc19a75f55a330c4414e7584fd00f44171e5.tar.bz2
ghdl-a49adc19a75f55a330c4414e7584fd00f44171e5.zip
Handle use clause on enumeration literal.
-rw-r--r--sem_scopes.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/sem_scopes.adb b/sem_scopes.adb
index 3acb6b1..ab7dbef 100644
--- a/sem_scopes.adb
+++ b/sem_scopes.adb
@@ -868,6 +868,7 @@ package body Sem_Scopes is
when Iir_Kinds_Procedure_Declaration
| Iir_Kinds_Function_Declaration
| Iir_Kind_Subtype_Declaration
+ | Iir_Kind_Enumeration_Literal -- By use clause
| Iir_Kind_Constant_Declaration
| Iir_Kind_Signal_Declaration
| Iir_Kind_Variable_Declaration