aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/parse.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-11-08 05:58:16 +0100
committerTristan Gingold <tgingold@free.fr>2017-11-08 05:58:16 +0100
commita4073d46d4757361e4a88fee7edbc62ee495b3c6 (patch)
tree25a625910e10996df2ba9c297c114d3caa377cf4 /src/vhdl/parse.adb
parent9e01b1290d44a275160a0d87454e35918fe0d2e5 (diff)
downloadghdl-a4073d46d4757361e4a88fee7edbc62ee495b3c6.tar.gz
ghdl-a4073d46d4757361e4a88fee7edbc62ee495b3c6.tar.bz2
ghdl-a4073d46d4757361e4a88fee7edbc62ee495b3c6.zip
Use flist for entity_name_list.
Diffstat (limited to 'src/vhdl/parse.adb')
-rw-r--r--src/vhdl/parse.adb8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/vhdl/parse.adb b/src/vhdl/parse.adb
index 58be80bea..a4a7b904b 100644
--- a/src/vhdl/parse.adb
+++ b/src/vhdl/parse.adb
@@ -3708,14 +3708,15 @@ package body Parse is
(Attribute : Iir_Attribute_Specification)
is
List : Iir_List;
+ Flist : Iir_Flist;
El : Iir;
begin
case Current_Token is
when Tok_All =>
- List := Iir_List_All;
+ Flist := Iir_Flist_All;
Scan;
when Tok_Others =>
- List := Iir_List_Others;
+ Flist := Iir_Flist_Others;
Scan;
when others =>
List := Create_Iir_List;
@@ -3725,8 +3726,9 @@ package body Parse is
exit when Current_Token /= Tok_Comma;
Scan;
end loop;
+ Flist := List_To_Flist (List);
end case;
- Set_Entity_Name_List (Attribute, List);
+ Set_Entity_Name_List (Attribute, Flist);
if Current_Token = Tok_Colon then
Scan;
Set_Entity_Class (Attribute, Parse_Entity_Class);