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

⟦6b4266772⟧ Ada Source

    Length: 2048 (0x800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Nom_De_Type, seg_04338d, seg_0436d7

Derivation

└─⟦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, Token_List, Erreur, Bounded_String, Models;
use Lexical, Token_List, Bounded_String;
package body Nom_De_Type is

    First : Token_List.Object := Make ((Chaine, Entier, Booleen, Id));
    Built_In_Type : Token_List.Object := Make ((Chaine, Entier, Booleen));

    procedure Parse (Tdm : in Models.Object; A_Name : in out Variable_String) is
    begin
        if Is_In (Lexical.Get_Token, First) then

            if Is_In (Lexical.Get_Token, Built_In_Type) or
               Models.Has_Model (Tdm, Lexical.Get_Value) then
                Free (A_Name);
                Copy (A_Name, Lexical.Get_Value);
                Lexical.Next;
            else
                Erreur.Modele ("Type non defini");
            end if;
        else
            Erreur.Syntaxe ("Type Inconnu");
        end if;
    end Parse;

end Nom_De_Type;

E3 Meta Data

    nblk1=1
    nid=0
    hdr6=2
        [0x00] rec0=1c rec1=00 rec2=01 rec3=001
    tail 0x217440b1e86356d3379f2 0x42a00088462060003