diff options
author | Tristan Gingold <tgingold@free.fr> | 2017-11-07 07:48:55 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2017-11-07 07:48:55 +0100 |
commit | a08289c5ad4c904a1b16445ee35fb00c05f87b64 (patch) | |
tree | 9406b043b8a90c06f0136ab19b6fadc20a1ae161 /src/vhdl/sem_names.adb | |
parent | 06d553f9d32184ad71f47bbcfcde2528d40408ac (diff) | |
download | ghdl-a08289c5ad4c904a1b16445ee35fb00c05f87b64.tar.gz ghdl-a08289c5ad4c904a1b16445ee35fb00c05f87b64.tar.bz2 ghdl-a08289c5ad4c904a1b16445ee35fb00c05f87b64.zip |
Use flist for enumerations.
Diffstat (limited to 'src/vhdl/sem_names.adb')
-rw-r--r-- | src/vhdl/sem_names.adb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vhdl/sem_names.adb b/src/vhdl/sem_names.adb index dbb0e8143..98b7e01bb 100644 --- a/src/vhdl/sem_names.adb +++ b/src/vhdl/sem_names.adb @@ -3948,9 +3948,9 @@ package body Sem_Names is and then Kind_In (Name, Iir_Kind_Simple_Name, Iir_Kind_Character_Literal) then - Res := Find_Name_In_List (Get_Enumeration_Literal_List - (Get_Base_Type (A_Type)), - Get_Identifier (Name)); + Res := Find_Name_In_Flist (Get_Enumeration_Literal_List + (Get_Base_Type (A_Type)), + Get_Identifier (Name)); if Res /= Null_Iir then Error_Msg_Sem (+Name, "enumeration literal %i is not visible " |