|
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: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Famille, seg_046c71
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Error, Liste_Champs, Type_Table; package body Famille is procedure Parse is procedure The_Resynchro is new Error.Resynchro (Famille.Is_Follow); use Lexical_Analyzer; begin if not (Famille.Is_First (Lexical_Analyzer.Get_Token)) then Error.Set_Type_Error (Error.Decl_Famille_Expected); raise Error.Excep_Syntaxe_Error; end if; Type_Table.Declare_Type_Name (Lexical_Analyzer.Get_Value, Lexical_Analyzer.Get_Line_In_File, Lexical_Analyzer.Get_Position_In_Line); Lexical_Analyzer.Next; if (Lexical_Analyzer.Get_Token /= Avec) then Error.Set_Type_Error (Error.Avec_Expected); raise Error.Excep_Syntaxe_Error; end if; Lexical_Analyzer.Next; Liste_Champs.Parse; if (Lexical_Analyzer.Get_Token /= Terminator) then Error.Set_Type_Error (Error.Point_Expected); raise Error.Excep_Syntaxe_Error; end if; Lexical_Analyzer.Next; exception when Error.Excep_Syntaxe_Error | Error.Excep_Semantic_Error => Error.Treat; The_Resynchro; end Parse; function Is_Follow (Un_Token : Lexical_Analyzer.Tokens) return Boolean is use Lexical_Analyzer; begin return (Is_First (Un_Token) or (Un_Token = Variables) or (Un_Token = Initialisations) or (Un_Token = Vie)); end Is_Follow; function Is_First (Un_Token : Lexical_Analyzer.Tokens) return Boolean is use Lexical_Analyzer; begin return (Un_Token = Identifier); end Is_First; --function eval ; --functin unparse; end Famille;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=1b rec1=00 rec2=01 rec3=034 [0x01] rec0=1e rec1=00 rec2=02 rec3=001 tail 0x2154397b286523c973535 0x42a00088462060003