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

⟦a68f27ebb⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Regles_Ou_Instructions, seg_040bb6, seg_040c78, seg_040c90, seg_040e39

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 Lex;
with Regle;
with Instruction;  
with Follow;
with Synchro;
with Error;

package body Regles_Ou_Instructions is


    procedure Regle_Ou_Instruction (Ok : out Boolean) is
        Correct : Boolean;
    begin
        Regle.Parse (Correct);
        if not Correct then
            Instruction.Parse (Correct);
        end if;
        Ok := Correct;
    end Regle_Ou_Instruction;

    procedure Regles_Ou_Instructions_Bis (Ok : out Boolean) is
        use Lex;
        Correct : Boolean;
    begin
        Regle_Ou_Instruction (Correct);
        if Correct then
            Regles_Ou_Instructions_Bis (Correct);
        end if;
        case Lex.Get_Token is
            when L_Locales | L_Finjeu | L_Finsi | L_Sinon | L_Dans | L_Eof =>
                Correct := True;
            when others =>
                Synchro.Is_On (Error.Regle_Ou_Instruction,
                               Follow.Regle_Ou_Instruction);
                Regles_Ou_Instructions_Bis (Correct);
        end case;
        Ok := Correct;
    end Regles_Ou_Instructions_Bis;


    procedure Parse (Ok : out Boolean) is
        Correct : Boolean;
    begin
        Regle_Ou_Instruction (Correct);
        if Correct then
            Regles_Ou_Instructions_Bis (Correct);
        else
            Synchro.Is_On (Error.Regle_Ou_Instruction,
                           Follow.Regle_Ou_Instruction);
            Regles_Ou_Instructions_Bis (Correct);
        end if;
        Ok := Correct;
    end Parse;

end Regles_Ou_Instructions;

E3 Meta Data

    nblk1=4
    nid=2
    hdr6=4
        [0x00] rec0=24 rec1=00 rec2=01 rec3=030
        [0x01] rec0=15 rec1=00 rec2=04 rec3=000
        [0x02] rec0=1c rec1=00 rec2=02 rec3=00c
        [0x03] rec0=03 rec1=00 rec2=03 rec3=000
    tail 0x2153b367486117b0a5c92 0x42a00088462060003
Free Block Chain:
  0x2: 0000  00 03 03 fc 80 15 52 65 67 6c 65 5f 4f 75 5f 49  ┆      Regle_Ou_I┆
  0x3: 0000  00 00 00 2f 80 08 64 20 50 61 72 73 65 3b 08 00  ┆   /  d Parse;  ┆