DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

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

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦b8794b6b3⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Initialisation, seg_048ff5, seg_0493c8

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



with Lexical, Erreur, Init_Complexe, Init_Simple, Token_List;
use Lexical;
with Models, Dynamic_Object, Symbols;

package body Initialisation is

    Follow : Token_List.Object := Token_List.Make ((Id, Liaison));

    procedure Parse (Tdm : in Models.Object;
                     Tds : in out Symbols.Object;
                     Object_Name, Object_Type : String) is

        Object_To_Insert : Dynamic_Object.Dynamic_Object;

    begin
        Dynamic_Object.New_Object (Object_To_Insert);


        case Lexical.Get_Token is

            when Avec =>
                Lexical.Next;
                if Lexical.Get_Token = Parnto then
                    Lexical.Next;
                    Init_Complexe.Parse
                       (Tds, Tdm, Object_To_Insert, Object_Type);
                    if Lexical.Get_Token = Parntf then
                        Lexical.Next;
                        Symbols.Store_Symbol
                           (Tds, Object_Name, Object_Type, Object_To_Insert);
                    else
                        Erreur.Syntaxe ("Manque )", Follow);
                    end if;
                else
                    Erreur.Syntaxe ("Manque (", Follow);
                end if;

            when Init =>
                Lexical.Next;
                Init_Simple.Parse_Init (Object_To_Insert);
                Symbols.Store_Symbol
                   (Tds, Object_Name, "POINTEUR", Object_To_Insert);

            when others =>
                Erreur.Syntaxe ("Manque Avec/Init", Follow);
        end case;

        Dynamic_Object.Dispose_Object (Object_To_Insert);

    end Parse;


end Initialisation;


E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1f rec1=00 rec2=01 rec3=056
        [0x01] rec0=1a rec1=00 rec2=02 rec3=001
    tail 0x2174d4f52865b3dcce6d0 0x42a00088462060003