|
|
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 Piece, seg_04758e
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Complements;
with Rooms;
with Syntax_Error;
with Lexical;
with Compiler_Token;
use Compiler_Token;
package body Piece is
procedure Parse is
Nom : Lexical.Our_String.Variable_String;
Commentaire : Lexical.Our_String.Variable_String;
begin
if Lexical.Get_Token = L_Piece 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_Str then
Commentaire := Lexical.Our_String.Value
(Lexical.Get_Value);
if not Complements.Exists
(Lexical.Our_String.Image (Nom)) then
Complements.Create (Lexical.Our_String.Image (Nom),
Complements.Room);
Rooms.Create (Lexical.Our_String.Image (Nom));
Rooms.Set_Comment
(Lexical.Our_String.Image (Nom),
Lexical.Our_String.Image (Commentaire));
else
Syntax_Error.Semantique ("Cette piece existe deja");
end if;
Lexical.Next;
else
Syntax_Error.Syntaxique (R_Piece, "L_Str");
end if;
else
Syntax_Error.Syntaxique (R_Piece, "L_Est");
end if;
else
Syntax_Error.Syntaxique (R_Piece, "L_Id");
end if;
else
Syntax_Error.Syntaxique (R_Piece, "L_Piece");
end if;
end Parse;
end Piece;
nblk1=4
nid=4
hdr6=6
[0x00] rec0=1d rec1=00 rec2=01 rec3=00a
[0x01] rec0=15 rec1=00 rec2=02 rec3=01a
[0x02] rec0=07 rec1=00 rec2=03 rec3=000
[0x03] rec0=0e rec1=00 rec2=04 rec3=000
tail 0x2174ac30a8653a3650c6a 0x42a00088462060003
Free Block Chain:
0x4: 0000 00 00 00 06 80 03 20 20 20 03 20 20 20 20 20 20 ┆ ┆