|
|
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: 1150 (0x47e)
Types: TextFile
Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
separate (Parse)
procedure Parse_Facteur (Ok : out Boolean;
The_Node : out Abstract_Tree.P_Node) is
Ok1 : Boolean := True;
begin
Ok := True;
Text_Io.Put_Line ("parse_facteur");
case Lex.Get_Token is
when L_Ouvrante =>
Lex.Next;
Parse_Expression (Ok1, The_Node);
if not Ok1 then
Parse_Error (Expr_Follow);
end if;
if Lex.Get_Token = L_Fermante then
Lex.Next;
else
Ok := False;
end if;
when L_Id =>
if Symbol_Table.Is_Visible (Lex.Get_Value) then
The_Node := Abstract_Tree.Make_Foliage (L_Id, Lex.Get_Value);
else
Error.Found;
end if;
Lex.Next;
when L_Nbr =>
The_Node := Abstract_Tree.Make_Foliage
(L_Nbr, Natural'Value (Lex.Get_Value));
Lex.Next;
when others =>
Ok := False;
The_Node := Abstract_Tree.Empty_Node;
end case;
Text_Io.Put_Line ("Fin Parse_facteur");
end Parse_Facteur;