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

⟦643dcf6c1⟧ Ada Source

    Length: 2048 (0x800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Actions, seg_042239

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 Lexical, Token_List, Verbs_Dictionary, Erreur, Synonymes;
use Lexical, Token_List;

package body Actions is

    Action_First : Token_List.Object := Make (Id);

    procedure Action (Dict : in out Verbs_Dictionary.Object) is
    begin
        if Lexical.Get_Token = Id then
            if Verbs_Dictionary.Exist (Lexical.Get_Value, Dict) then
                Erreur.Syntaxe ("Verbe deja existant");
            else
                Verbs_Dictionary.Add_New (Lexical.Get_Value, Dict);
            end if;
            Lexical.Next;
            Synonymes.Parse (Dict);
        else
            Erreur.Syntaxe ("Manque un verbe");
        end if;
    end Action;

    procedure Parse (Dict : in out Verbs_Dictionary.Object) is
    begin

        Action (Dict);
        while Is_In (Lexical.Get_Token, Action_First) loop
            Action (Dict);
        end loop;

    end Parse;

end Actions;


E3 Meta Data

    nblk1=1
    nid=0
    hdr6=2
        [0x00] rec0=24 rec1=00 rec2=01 rec3=001
    tail 0x2153d25a4862971276751 0x42a00088462060003