|
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 - download
Length: 6144 (0x1800) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Etat, seg_047a0f
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with Complements; with Items; with Personnages; with Rooms; with Autre_Etat; with Syntax_Error; with Lexical; with Compiler_Token; use Compiler_Token; package body Etat is procedure Parse is Nom : Lexical.Our_String.Variable_String; Un_Etat : Lexical.Our_String.Variable_String; begin if Lexical.Get_Token = L_Etat then Lexical.Next; if Lexical.Get_Token = L_Id then Nom := Lexical.Our_String.Value (Lexical.Get_Value); Lexical.Next; if Lexical.Get_Token = L_Est then Lexical.Next; if Lexical.Get_Token = L_Id then Un_Etat := Lexical.Our_String.Value (Lexical.Get_Value); if Complements.Exists (Lexical.Our_String.Image (Nom)) then case Complements.Kind_Of (Lexical.Our_String.Image (Nom)) is when Complements.Personnage => Personnages.Add_State (Lexical.Our_String.Image (Nom), Lexical.Our_String.Image (Un_Etat)); when Complements.Room => Rooms.Add_State (Lexical.Our_String.Image (Nom), Lexical.Our_String.Image (Un_Etat)); when Complements.Item => Items.Add_State (Lexical.Our_String.Image (Nom), Lexical.Our_String.Image (Un_Etat)); when Complements.No_One => Syntax_Error.Semantique (Lexical.Our_String.Image (Nom) & " n'est ni une personne, ni une piece, ni un objet"); when Complements.Way => Syntax_Error.Semantique ("Un acces ne peut pas avoir d'etat"); end case; else Syntax_Error.Semantique (Lexical.Our_String.Image (Nom) & " n'existe pas"); end if; Lexical.Next; Autre_Etat.Parse (Nom); else Syntax_Error.Syntaxique (R_Etat, "L_Id"); end if; else Syntax_Error.Syntaxique (R_Etat, "L_Est"); end if; else Syntax_Error.Syntaxique (R_Etat, "L_Id"); end if; else Syntax_Error.Syntaxique (R_Etat, "L_Etat"); end if; end Parse; end Etat;
nblk1=5 nid=0 hdr6=a [0x00] rec0=20 rec1=00 rec2=01 rec3=012 [0x01] rec0=0f rec1=00 rec2=03 rec3=026 [0x02] rec0=00 rec1=00 rec2=04 rec3=032 [0x03] rec0=16 rec1=00 rec2=05 rec3=06c [0x04] rec0=08 rec1=00 rec2=02 rec3=000 tail 0x2174b289c865474923b74 0x42a00088462060003