|
|
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: 2068 (0x814)
Types: TextFile
Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
separate (Parse)
procedure Parse_Parametres (Ok : out Boolean) is
Ok1 : Boolean := True;
Success : Boolean;
The_Class : Element.Class;
begin
Ok := True;
Text_Io.Put_Line ("parse_parametres");
if Lex.Get_Token /= L_Est then
if Lex.Get_Token = L_Ouvrante then
Lex.Next;
if Lex.Get_Token = L_Id then
declare
Id : constant String := Lex.Get_Value;
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_Id then
declare
Id2 : constant String := Lex.Get_Value;
begin
if Symbol_Table.Is_Visible (Id2) then
The_Class := Element.Convert_To_Class (Id2);
Symbol_Table.Set_Class
(Id, The_Class, Success);
else
Error.Found;
end if;
Lex.Next;
end;
else
Ok := False;
end if;
end if;
Parse_Autre_Parametre (Ok1);
if not Ok1 then
Parse_Error (Autre_Parametre_Follow);
end if;
if Lex.Get_Token = L_Fermante then
Lex.Next;
else
Ok := False;
end if;
end;
else
Ok := False;
end if;
else
Ok := False;
end if;
end if;
end Parse_Parametres;