|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Actions, seg_04807b
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Lexical, Token_List, Verbs_Dictionary, Erreur, Synonymes;
use Lexical, Token_List;
package body Actions is
Action_First : Token_List.Object := Make (Id);
Action_Follow : Token_List.Object := Make ((Id, Definition));
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.Verbe ("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", Action_Follow);
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;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=21 rec1=00 rec2=01 rec3=00c
[0x01] rec0=04 rec1=00 rec2=02 rec3=001
tail 0x2174c0a688658381bd082 0x42a00088462060003