|
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: 5120 (0x1400) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Element_Global, seg_044749
└─⟦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; 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 => Lex.Next; when T_Pnj => Lex.Next; when T_Hero => Lex.Next; when T_Piece_Courante => Lex.Next; when T_Direction => Lex.Next; when T_Le => Lex.Next; if Lex.Currenttoken_Is (T_Ident) then Lex.Next; if Lex.Currenttoken_Is (T_De) then Lex.Next; if Lex.Currenttoken_Is (T_Lien) then Lex.Next; else Success := False; Error.Append; end if; else Success := False; Error.Append; end if; else Success := False; Error.Append; end if; when others => Success := False; Error.Append; end case; end Parse; end Element_Global;
nblk1=4 nid=4 hdr6=6 [0x00] rec0=1e rec1=00 rec2=01 rec3=02e [0x01] rec0=1d rec1=00 rec2=02 rec3=02e [0x02] rec0=0e rec1=00 rec2=03 rec3=000 [0x03] rec0=03 rec1=e5 rec2=ed rec3=742 tail 0x215404ecc863e89794526 0x42a00088462060003 Free Block Chain: 0x4: 0000 00 00 00 0b 80 08 49 4f 4e 53 3e 20 20 4e 08 5f ┆ IONS> N _┆