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

⟦2adfca047⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Declaration_Communication, seg_048214, seg_0484a2

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 
└─⟦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 Structure_Des_Variables;
with Interface_Structure;
with Lex;
with Variable;
with Error;
with Follow;
with Synchro;

package body Declaration_Communication is

    procedure Suite_Sens1_Sens_2
                 (Ok : in out Boolean;
                  Le_Sens : Structure_Des_Variables.Enum_Sens) is
        use Lex;
    begin
        Ok := False;
        if Lex.Next_Token = L_Id then
            Interface_Structure.Associate_Source (Lex.Get_Value, Le_Sens);
            if Lex.Next_Token = L_Vers then
                if Lex.Next_Token = L_Id then
                    Interface_Structure.Associate_Destination
                       (Lex.Get_Value, Le_Sens);
                    Lex.Next;
                    Variable.Description_Parse (Ok, Le_Sens);
                    if Ok then
                        Variable.Etat_Parse (Ok, Le_Sens);
                    end if;
                end if;
            end if;
        end if;

    end Suite_Sens1_Sens_2;

    procedure Parse (Ok : in out Boolean) is
        use Lex;  
        Le_Sens : Structure_Des_Variables.Enum_Sens;
    begin
        Lex.Next;
        Variable.Existence_Parse (Ok);
        Ok := Ok and Lex.Get_Token = L_Id;
        Interface_Structure.Associate_Nom_Variable (Lex.Get_Value);
        if not Ok then
            Synchro.Is_On (Error.Identification_Variable,
                           Follow.Identification_Variable);
        else
            Lex.Next;
        end if;
        if Ok then
            if Lex.Get_Token = L_Sens1 then  
                Le_Sens := Structure_Des_Variables.Sens1;
                Suite_Sens1_Sens_2 (Ok, Le_Sens);
                if not Ok then
                    Synchro.Is_On (Error.Declaration_De_Communication,
                                   Follow.Declaration_De_Communication);

                end if;
                if Lex.Get_Token = L_Sens2 then  
                    Le_Sens := Structure_Des_Variables.Sens2;
                    Suite_Sens1_Sens_2 (Ok, Le_Sens);
                    if not Ok then
                        Synchro.Is_On (Error.Declaration_De_Communication,
                                       Follow.Declaration_De_Communication);
                    end if;
                    if Lex.Get_Token = L_Fincommunication then
                        Lex.Next;
                        Ok := True;
                    else
                        Ok := False;
                    end if;
                else
                    if Lex.Get_Token = L_Fincommunication then
                        Lex.Next;
                        Ok := True;
                    else
                        Ok := False;
                    end if;
                end if;
            else
                Ok := False;
            end if;
        end if;
    end Parse;

end Declaration_Communication;

E3 Meta Data

    nblk1=4
    nid=2
    hdr6=6
        [0x00] rec0=1f rec1=00 rec2=01 rec3=016
        [0x01] rec0=1c rec1=00 rec2=04 rec3=020
        [0x02] rec0=1b rec1=00 rec2=03 rec3=000
        [0x03] rec0=17 rec1=00 rec2=02 rec3=000
    tail 0x2154544ee8658746ad472 0x42a00088462060003
Free Block Chain:
  0x2: 0000  00 00 02 ff 80 45 20 20 20 20 20 20 20 20 20 20  ┆     E          ┆