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

⟦9d3be9ee9⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Les_Conditions, seg_047ff7

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

package body Les_Conditions is

    procedure Parse (Value : in out Our_Value.My_Variable) is
        Local : Our_Value.My_Variable;
    begin
        case Lex.Get_Token is
            when Et =>
                Lex.Next;
                if Lex.Get_Token = Left_Bracket then
                    Lex.Next;
                    Les_Conditions.Parse (Value);
                    if Lex.Get_Token = Coma then
                        Lex.Next;
                        Les_Conditions.Parse (Local);
                        Set_Value (Value, Value and Local);
                        if Lex.Get_Token = Right_Bracket then
                            Lex.Next;
                        else
                            Erreur.Parse ("il manque une ')'");
                        end if;
                    else
                        Erreur.Parse ("il manque une ','");
                    end if;
                else
                    Erreur.Parse ("il manque une '('");
                end if;

            when Ou =>
                Lex.Next;
                if Lex.Get_Token = Left_Bracket then
                    Lex.Next;
                    Les_Conditions.Parse (Value);
                    if Lex.Get_Token = Coma then
                        Lex.Next;
                        Les_Conditions.Parse (Local);
                        Set_Value (Value, Value or Local);
                        if Lex.Get_Token = Right_Bracket then
                            Lex.Next;
                        else
                            Erreur.Parse ("il manque une ')'");
                        end if;
                    else
                        Erreur.Parse ("il manque une ','");
                    end if;
                else
                    Erreur.Parse ("il manque une '('");
                end if;

            when Non =>
                Lex.Next;
                Les_Conditions.Parse (Value);
                Set_Value (Value, not Value);

            when others =>
                Une_Condition.Parse (Value);

        end case;
    end Parse;

end Les_Conditions;

E3 Meta Data

    nblk1=4
    nid=2
    hdr6=6
        [0x00] rec0=1c rec1=00 rec2=01 rec3=022
        [0x01] rec0=1b rec1=00 rec2=04 rec3=014
        [0x02] rec0=0b rec1=00 rec2=03 rec3=000
        [0x03] rec0=04 rec1=25 rec2=c8 rec3=742
    tail 0x215438a2686519d57b16b 0x42a00088462060003
Free Block Chain:
  0x2: 0000  00 00 00 ce 80 0f 2e 50 61 72 73 65 20 28 56 61  ┆      .Parse (Va┆