|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: B T
Length: 2655 (0xa5f)
Types: TextFile
Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
separate (Parse)
procedure Parse_Acteurs (Ok : out Boolean) is
Ok1 : Boolean := True;
Success : Boolean;
begin
Ok := True;
Text_Io.Put_Line ("parse_acteurs");
while Lex.Get_Token /= L_Fin loop
if Lex.Get_Token = L_Id then
declare
Id : constant String := Lex.Get_Value;
The_Type : Element.Element_Type;
begin
Symbol_Table.Insert (Id, Success);
if not (Success) then
Error.Found;
end if;
Lex.Next;
if Lex.Get_Token = L_2points then
Lex.Next;
if Lex.Get_Token = L_Acteur then
Lex.Next;
if Lex.Get_Token = L_Ouvrante then
Lex.Next;
Parse_Type_Actor (Ok1, The_Type);
if not Ok1 then
Parse_Error (Type_Actor_Follow);
else
Symbol_Table.Set_Type (Id, The_Type, Success);
end if;
if Lex.Get_Token = L_Virgule then
Lex.Next;
if Lex.Get_Token = L_Nbr then
Symbol_Table.Set_Num_Acteur
(Id, Natural'Value (Lex.Get_Value),
Success);
Lex.Next;
if Lex.Get_Token = L_Fermante then
Lex.Next;
else
Ok := False;
exit;
end if;
else
Ok := False;
exit;
end if;
else
Ok := False;
exit;
end if;
else
Ok := False;
exit;
end if;
else
Ok := False;
exit;
end if;
else
Ok := False;
exit;
end if;
end;
else
Ok := False;
exit;
end if;
end loop;
end Parse_Acteurs;