|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 7168 (0x1c00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Connexions, seg_048fd2, seg_04939a
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Lexical, Token_List, Erreur, Etat, Bounded_String;
with Set_Of_Connections;
use Lexical, Token_List, Bounded_String;
package body Connexions is
Connexion_First : Token_List.Object := Make (Creer_Connexion);
Connexion_Follow : Token_List.Object :=
Make ((Creer_Connexion, Creer_Lien, Introduction));
procedure Connexion (Connect : in out Set_Of_Connections.Object) is
Nom_Source : Bounded_String.Variable_String (32);
Nom_Destination : Bounded_String.Variable_String (32);
Nom_Qualif : Bounded_String.Variable_String (32);
Etat_Connexion : Lexical.Token;
begin
Bounded_String.Free (Nom_Source);
Bounded_String.Free (Nom_Destination);
Bounded_String.Free (Nom_Qualif);
if Lexical.Get_Token = Creer_Connexion then
Lexical.Next;
if Lexical.Get_Token = Parnto then
Lexical.Next;
if Lexical.Get_Token = Id then
Bounded_String.Copy (Nom_Source, Lexical.Get_Value);
Lexical.Next;
if Lexical.Get_Token = Virgul then
Lexical.Next;
if Lexical.Get_Token = Id then
Bounded_String.Copy
(Nom_Destination, Lexical.Get_Value);
Lexical.Next;
if Lexical.Get_Token = Virgul then
Lexical.Next;
if Lexical.Get_Token = Id then
Bounded_String.Copy
(Nom_Qualif, Lexical.Get_Value);
Lexical.Next;
if Lexical.Get_Token = Virgul then
Lexical.Next;
Etat.Parse (Etat_Connexion);
if Lexical.Get_Token = Parntf then
Lexical.Next;
if Set_Of_Connections.Exist
(Image (Nom_Source),
Image (Nom_Qualif),
Connect) then
Erreur.Connexion ("Duplication de connexion !");
else
if Etat_Connexion = Lie then
Set_Of_Connections.Add_New
(Image (Nom_Source), Image (Nom_Destination),
Image (Nom_Qualif), Set_Of_Connections.Linked, Connect);
else
Set_Of_Connections.Add_New
(Image (Nom_Source), Image (Nom_Destination),
Image (Nom_Qualif),
Set_Of_Connections.Unlinked, Connect);
end if;
end if;
else
Erreur.Syntaxe ("Manque )",
Connexion_Follow);
end if;
else
Erreur.Syntaxe ("Manque ,",
Connexion_Follow);
end if;
else
Erreur.Syntaxe ("Mauvais qualificateur",
Connexion_Follow);
end if;
else
Erreur.Syntaxe ("Manque ,", Connexion_Follow);
end if;
else
Erreur.Syntaxe ("Mauvais id", Connexion_Follow);
end if;
else
Erreur.Syntaxe ("Manque ,", Connexion_Follow);
end if;
else
Erreur.Syntaxe ("Mauvais id", Connexion_Follow);
end if;
else
Erreur.Syntaxe ("Manque (", Connexion_Follow);
end if;
else
Erreur.Syntaxe ("Manque CREER_CONNEXION", Connexion_Follow);
end if;
end Connexion;
procedure Parse (Connect : in out Set_Of_Connections.Object) is
begin
Connexion (Connect);
while Is_In (Lexical.Get_Token, Connexion_First) loop
Connexion (Connect);
end loop;
end Parse;
end Connexions;
nblk1=6
nid=6
hdr6=a
[0x00] rec0=1c rec1=00 rec2=01 rec3=05c
[0x01] rec0=12 rec1=00 rec2=02 rec3=032
[0x02] rec0=10 rec1=00 rec2=05 rec3=07a
[0x03] rec0=13 rec1=00 rec2=04 rec3=036
[0x04] rec0=1f rec1=00 rec2=03 rec3=000
[0x05] rec0=23 rec1=00 rec2=02 rec3=001
tail 0x2174d4d72865b3da2ef1a 0x42a00088462060003
Free Block Chain:
0x6: 0000 00 00 03 fc 80 16 20 20 20 20 20 20 20 20 20 20 ┆ ┆