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

⟦bd0341ded⟧ Ada Source

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

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 Error, Liste_Id, Dictionnary;

package body Definition_Complements is

    procedure Parse is  
        procedure The_Resynchro is new Error.Resynchro
                                          (Definition_Complements.Is_Follow);
        use Lexical_Analyzer;
    begin
        if Definition_Complements.Is_First (Lexical_Analyzer.Get_Token) then
            Lexical_Analyzer.Next;
            if (Lexical_Analyzer.Get_Token /= Sont) then
                Error.Set_Type_Error (Error.Sont_Expected);
                raise Error.Excep_Syntaxe_Error;
            end if;
            Lexical_Analyzer.Next;  
            Dictionnary.Set_Kind_Of_Storage (Dictionnary.Complement);
            Liste_Id.Parse;
            if (Lexical_Analyzer.Get_Token /= Terminator) then  
                Error.Set_Type_Error (Error.Point_Expected);
                raise Error.Excep_Syntaxe_Error;
            end if;
            Lexical_Analyzer.Next;
        end if;  
    exception
        when Error.Excep_Syntaxe_Error =>
            Error.Treat;
            The_Resynchro;
    end Parse;


    function Is_Follow (Un_Token : Lexical_Analyzer.Tokens) return Boolean is
        use Lexical_Analyzer;
    begin
        return (Un_Token = Familles) or (Un_Token = Variables) or
                  (Un_Token = Initialisations) or (Un_Token = Vie);
    end Is_Follow;


    function Is_First (Un_Token : Lexical_Analyzer.Tokens) return Boolean is
        use Lexical_Analyzer;
    begin
        return (Un_Token = Complements);
    end Is_First;


end Definition_Complements;

E3 Meta Data

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