Ensure compatibility with 3.14p.

[Imported from Perforce change 4872 at 2006-12-01 19:42:11]

Subversion-branch: /trunk/polyorb
Subversion-revision: 33685
This commit is contained in:
Laurent Pautet
2002-07-01 22:10:25 +00:00
parent c3dae1ef92
commit de61421405

View File

@@ -1135,7 +1135,8 @@ package body GNAT.Perfect_Hash.Generators is
Len : constant Natural := Value'Length;
begin
Word (1 .. Len) := Value (Value'First .. Value'First + Len - 1);
WT.Set_Item (NK, Word);
WT.Set_Last (NK);
WT.Table (NK) := Word;
NK := NK + 1;
NV := Natural (Float (NK) * K2V);
if MKL < Len then