|
|
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: 4096 (0x1000)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Def_Types, seg_046792
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Definition_Types, Text_Io, Error, Lexical_Analyzer;
procedure Test_Def_Types is
use Error;
The_Error : Error.Code;
begin
Lexical_Analyzer.Open ("test_fichier_def_types");
Lexical_Analyzer.Next;
The_Error := Definition_Types.Parse;
if (The_Error /= Error.No) then
Text_Io.Put ("erreur in line " &
Natural'Image (Lexical_Analyzer.Get_Line_In_File) & " ");
Text_Io.Put
("et in colonne " &
Natural'Image (Lexical_Analyzer.Get_Position_In_Line) & " : ");
case (The_Error) is
when Error.Decl_Type_Simple_Expected =>
Text_Io.Put_Line ("Decl_Type_Simple_Expected");
when Error.Id_Expected =>
Text_Io.Put_Line ("id_Expected");
when Error.De_Expected =>
--Text_Io.Put_Line (Error_Code'Image (Error.De_Expected));
Text_Io.Put_Line ("De_Expected");
when Error.Right_Bracket_Expected =>
Text_Io.Put_Line ("Right_Bracket_Expected");
when Error.Left_Bracket_Expected =>
Text_Io.Put_Line ("Left_Bracket_Expected");
when Error.Decl_Champs_Expected =>
Text_Io.Put_Line ("Decl_Champs_Expected");
when Error.Decl_Famille_Expected =>
Text_Io.Put_Line ("Decl_familles_Expected");
when Error.Point_Expected =>
Text_Io.Put_Line ("point_Expected");
when Error.Avec_Expected =>
Text_Io.Put_Line ("avec_Expected");
when Error.Sont_Expected =>
Text_Io.Put_Line
("Error.Sont_Expected, si vous ne voulez pas declarer de familles, alors ne pas");
Text_Io.Put_Line
("ecrire FAMILLES et passez directement a la section sivante");
when others =>
Text_Io.Put_Line ("indetermine");
end case;
else
Text_Io.Put_Line ("pas erreur");
end if;
Lexical_Analyzer.Close;
end Test_Def_Types;
nblk1=3
nid=0
hdr6=6
[0x00] rec0=1a rec1=00 rec2=01 rec3=03c
[0x01] rec0=18 rec1=00 rec2=03 rec3=00e
[0x02] rec0=07 rec1=00 rec2=02 rec3=000
tail 0x21543373286515a8d1781 0x42a00088462060003