DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦134a17559⟧ TextFile

    Length: 997 (0x3e5)
    Types: TextFile
    Names: »B«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 

TextFile

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;