|
|
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: 997 (0x3e5)
Types: TextFile
Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
with Lex, Value, Symbol;
with Debug;
package body Liste_Value is
procedure Parse (N : in out Binary_Tree.Node; Success : in out Boolean) is
N1 : Binary_Tree.Node;
Ok : Boolean := True;
begin
Success := True;
N1 := new Binary_Tree.Node_Structure;
N1.The_Type := Binary_Tree.L_Valeur_Type;
Value.Parse (N1.Left_Son, Ok);
Success := Success and Ok;
if Lex.Current_Token_In ((Lex.Hour, Lex.Int, Lex.Identifier)) then
Parse (N1.Right_Son, Ok);
Success := Success and Ok;
end if;
N := N1;
end Parse;
procedure Generate (N : Binary_Tree.Node; Num_Parameter : Natural) is
Value1 : Natural;
begin
Value.Generate (N.Left_Son, Value1);
Symbol.Set_Parameter_Value (Num_Parameter, Value1);
if not Binary_Tree."=" (N.Right_Son, null) then
Generate (N.Right_Son, Num_Parameter + 1);
end if;
end Generate;
end Liste_Value;