summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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