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

⟦60e3e3046⟧ Ada Source

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

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, Lexical_Analyzer, Liste_Actions;

package body Error is

    Error_Type : Code := None;


    procedure Set_Type_Error (What_Type : Error.Code) is
    begin
        Error_Type := What_Type;
    end Set_Type_Error;


    function Syntaxe_End_Correctly return Boolean is
    begin
        return Error_Type = None;
    end Syntaxe_End_Correctly;


    procedure Treat is
    begin
        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) & " : ");
        Text_Io.Put_Line (Error.Code'Image (Error_Type));
    end Treat;


    procedure Resynchro is
        use Lexical_Analyzer;
    begin  
        while (Lexical_Analyzer.Get_Token /= Terminator) loop
            Lexical_Analyzer.Next;
        end loop;
        Lexical_Analyzer.Next;
    end Resynchro;


end Error;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=27 rec1=00 rec2=01 rec3=014
        [0x01] rec0=04 rec1=00 rec2=02 rec3=001
    tail 0x215396e2c860a89f44166 0x42a00088462060003