summaryrefslogtreecommitdiff
path: root/src/vhdl/translate/trans-rtis.adb
diff options
context:
space:
mode:
authorTristan Gingold2014-12-31 06:35:55 +0100
committerTristan Gingold2014-12-31 06:35:55 +0100
commit032a613b864bd0ff4c632cfb8541203abf1f4e59 (patch)
tree485963e7bf92b8e8c3497721c3d1295a53e949f4 /src/vhdl/translate/trans-rtis.adb
parentdfff5cae5a4b336ba0cf797f4122cfcace474736 (diff)
downloadghdl-032a613b864bd0ff4c632cfb8541203abf1f4e59.tar.gz
ghdl-032a613b864bd0ff4c632cfb8541203abf1f4e59.tar.bz2
ghdl-032a613b864bd0ff4c632cfb8541203abf1f4e59.zip
Rename name_table.name_buffer and name_length to avoid clash.
Diffstat (limited to 'src/vhdl/translate/trans-rtis.adb')
-rw-r--r--src/vhdl/translate/trans-rtis.adb12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/vhdl/translate/trans-rtis.adb b/src/vhdl/translate/trans-rtis.adb
index fe7032c..76db3cc 100644
--- a/src/vhdl/translate/trans-rtis.adb
+++ b/src/vhdl/translate/trans-rtis.adb
@@ -867,14 +867,14 @@ package body Trans.Rtis is
begin
Id := Get_Identifier (Node);
if Is_Character (Id) then
- Name_Buffer (1) := ''';
- Name_Buffer (2) := Get_Character (Id);
- Name_Buffer (3) := ''';
- Name_Length := 3;
+ Nam_Buffer (1) := ''';
+ Nam_Buffer (2) := Get_Character (Id);
+ Nam_Buffer (3) := ''';
+ Nam_Length := 3;
else
Image (Id);
end if;
- return Create_String (Name_Buffer (1 .. Name_Length),
+ return Create_String (Nam_Buffer (1 .. Nam_Length),
Create_Identifier ("RTISTR"));
end Generate_Name;
@@ -2435,7 +2435,7 @@ package body Trans.Rtis is
if Public then
Image (Id);
Name := Create_String
- (Name_Buffer (1 .. Name_Length),
+ (Nam_Buffer (1 .. Nam_Length),
Create_Identifier_Without_Prefix (Id, "__RTISTR"));
Start_Const_Value (Info.Library_Rti_Const);
Start_Record_Aggr (Aggr, Ghdl_Rtin_Type_Scalar);