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

⟦5005686cd⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Liste_Familles, seg_03f429

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 Liste_Familles, Text_Io, Error, Lexical_Analyzer;

procedure Test_Liste_Familles is
    use Error;
    The_Error : Error.Code;
begin
    Lexical_Analyzer.Open ("test_fichier_familles");
    Lexical_Analyzer.Next;
    The_Error := Liste_Familles.Parse;
    if (The_Error /= Error.No) then
        Text_Io.Put ("erreur in line " &
                     Natural'Image (Lexical_Analyzer.Get_Line_In_File) & " ");
        Text_Io.Put
           ("et in colonne " &
            Natural'Image (Lexical_Analyzer.Get_Position_In_Line) & " : ");

        case (The_Error) is  
            when Error.Decl_Type_Simple_Expected =>
                Text_Io.Put_Line ("Decl_Type_Simple_Expected");
            when Error.Id_Expected =>
                Text_Io.Put_Line ("id_Expected");
            when Error.De_Expected =>
                --Text_Io.Put_Line (Error_Code'Image (Error.De_Expected));
                Text_Io.Put_Line ("De_Expected");
            when Error.Right_Bracket_Expected =>
                Text_Io.Put_Line ("Right_Bracket_Expected");
            when Error.Left_Bracket_Expected =>
                Text_Io.Put_Line ("Left_Bracket_Expected");
            when Error.Decl_Champs_Expected =>
                Text_Io.Put_Line ("Decl_Champs_Expected");

            when Error.Decl_Famille_Expected =>
                Text_Io.Put_Line ("Decl_familles_Expected");
            when Error.Point_Expected =>
                Text_Io.Put_Line ("point_Expected");  
            when Error.Avec_Expected =>
                Text_Io.Put_Line ("avec_Expected");

            when others =>
                Text_Io.Put_Line ("indetermine");
        end case;
    else
        Text_Io.Put_Line ("pas erreur");

    end if;
    Lexical_Analyzer.Close;
end Test_Liste_Familles;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1a rec1=00 rec2=01 rec3=038
        [0x01] rec0=17 rec1=00 rec2=02 rec3=001
    tail 0x21538ffde86077dedf88c 0x42a00088462060003