|
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: 5120 (0x1400) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Element_Global, seg_047ccd
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Lex, Token_Pkg, Error, Struct_Component, Pnjs, Pieces, Objets, Directions; use Token_Pkg; package body Element_Global is ------------------------------------------------------------------------ -- <UNIT> Element_global ------------------------------------------------------------------------ -- -- <DESCRIPTION> This package defines an operation for parsing the -- grammatical expresssion : <element_global> -- -- <AUTHOR> Barthe Raphael, Beck Didier, Kempe Laurent -- <VERSION> 1.0 -- <DATE> 16-Oct-95 -- <MODIFY> 16-Jan-95 -- -- <PKG USED> LEX, Token_Pkg, Error -- ------------------------------------------------------------------------ procedure Parse (Success : in out Boolean) is ------------------------------------------------------------------------ -- <SUBPROGRAM> -- <UNIT> Parse -- -- <DESCRIPTION> Try to parse <element_global> and return if -- it was a success or not. -- -- <EXCEPTIONS> Nothing -- ------------------------------------------------------------------------ begin case Lex.Gettoken is when T_Objet => Tmptree := Feuille.Create (Feuille.Objet); Lex.Next; when T_Pnj => Tmptree := Feuille.Create (Feuille.Pnj); Lex.Next; when T_Hero => Tmptree := Feuille.Create (Feuille.Hero); Lex.Next; when T_Piece_Courante => Tmptree := Feuille.Create (Feuille.Piece_Courante); Lex.Next; when others => Success := False; Error.Append (" : Objet ou Pnj ou Hero ou Piece_courante attendu !"); end case; end Parse; end Element_Global;
nblk1=4 nid=4 hdr6=4 [0x00] rec0=1c rec1=00 rec2=01 rec3=028 [0x01] rec0=1b rec1=00 rec2=02 rec3=000 [0x02] rec0=03 rec1=00 rec2=04 rec3=000 [0x03] rec0=03 rec1=00 rec2=03 rec3=000 tail 0x21544d68486574e136646 0x42a00088462060003 Free Block Chain: 0x4: 0000 00 03 00 1c 00 00 00 00 13 65 6e 64 20 45 6c 65 ┆ end Ele┆ 0x3: 0000 00 00 00 22 80 03 73 65 3b 03 00 00 00 00 13 65 ┆ " se; e┆