From a49adc19a75f55a330c4414e7584fd00f44171e5 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 4 Jan 2014 01:49:11 +0100 Subject: Handle use clause on enumeration literal. --- sem_scopes.adb | 1 + 1 file changed, 1 insertion(+) 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 -- cgit