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

⟦c24509177⟧ Ada Source

    Length: 4096 (0x1000)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Les_Conditions, seg_0498b3

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 Erreur, Une_Condition;
use Une_Condition;

package body Les_Conditions is

    procedure Parse is
    begin
        if Lex.Get_Token = Et then
            Lex.Next;
            if Lex.Get_Token = Left_Bracket then
                Lex.Next;
                Une_Condition.Parse;
                if Lex.Get_Token = Coma then
                    Lex.Next;
                    Une_Condition.Parse;
                    if Lex.Get_Token = Right_Bracket then
                        Lex.Next;
                    else
                        Erreur.Parse ("il manque ')'");
                    end if;
                else
                    Erreur.Parse ("il manque ','");
                end if;
            else
                Erreur.Parse ("il manque '('");
            end if;
        else
            if Lex.Get_Token = Ou then
                Lex.Next;
                if Lex.Get_Token = Left_Bracket then
                    Lex.Next;
                    Une_Condition.Parse;
                    if Lex.Get_Token = Coma then
                        Lex.Next;
                        Une_Condition.Parse;
                        if Lex.Get_Token = Right_Bracket then
                            Lex.Next;
                        else
                            Erreur.Parse ("il manque ')'");
                        end if;
                    else
                        Erreur.Parse ("il manque ','");
                    end if;
                else
                    Erreur.Parse ("il manque '('");
                end if;
            else

                if Lex.Get_Token = Non then
                    Lex.Next;
                    Une_Condition.Parse;
                else
                    if Une_Condition_First (Lex.Get_Token) then
                        Une_Condition.Parse;
                    else
                        Erreur.Parse
                           ("il manque le mot 'entree_clavier' ou 'non' ou 'ou' ou 'et' ou '(' ou 'vrai' ou 'faux' ou un identificateur");
                    end if;
                end if;
            end if;
        end if;
    end Parse;

end Les_Conditions;

E3 Meta Data

    nblk1=3
    nid=0
    hdr6=6
        [0x00] rec0=21 rec1=00 rec2=01 rec3=00e
        [0x01] rec0=19 rec1=00 rec2=03 rec3=06a
        [0x02] rec0=08 rec1=00 rec2=02 rec3=000
    tail 0x21546ec48865e6b5bb2d8 0x42a00088462060003