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

⟦3ea91a229⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Un_Type, seg_04713e

Derivation

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

E3 Source Code



with Text_Io, Erreur, Un_Type_De_Base, Une_Liste_Id, Une_Liste_Champs, Our_List;

package body Un_Type is

    procedure Parse is

    begin
        case Lex.Get_Token is
            when De_Type =>
                Lex.Next;
                Un_Type_De_Base.Parse;
            when Enumere_De =>
                if Our_List.Get_Part_Of_The_Script = 1 then
                    Our_List.Complete_Field_With_Type ("enum");
                end if;

                if Our_List.Get_Part_Of_The_Script = 2 then
                    Text_Io.Put_Line
                       ("For the declaration of a variable, only <de_type> can be used");
                end if;
                Lex.Next;
                Une_Liste_Id.Parse;
            when Compose_De =>  
                if Our_List.Get_Part_Of_The_Script = 1 then
                    Our_List.First_Field;  
                end if;

                if Our_List.Get_Part_Of_The_Script = 2 then
                    Text_Io.Put_Line
                       ("For the declaration of a variable, only <de_type> can be used");
                end if;
                Lex.Next;
                Une_Liste_Champs.Parse;
                if Lex.Get_Token = Fin_Champs then
                    Lex.Next;
                else
                    Erreur.Parse ("il manque le mot 'fin_champs'");
                end if;
            when others =>
                Erreur.Parse
                   ("il manque le mot 'de_type' ou 'enumere_de' ou 'compose_de'");
        end case;
    end Parse;

end Un_Type;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1e rec1=00 rec2=01 rec3=026
        [0x01] rec0=11 rec1=00 rec2=02 rec3=001
    tail 0x217482714864d625aac20 0x42a00088462060003