|
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: 6144 (0x1800) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Declaration_Communication, seg_0492ac, seg_04942d
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Structure_Des_Variables; with Interface_Structure; with Lex; with Variable; with Error; with Follow; with Synchro; package body Declaration_Communication is procedure Suite_Sens1_Sens_2 (Ok : in out Boolean; Le_Sens : Integer) is use Lex; begin Ok := False; if Lex.Next_Token = L_Id then case Le_Sens is when 1 => Interface_Structure.Associate_Source_Sens1 (Lex.Get_Value); when 2 => Interface_Structure.Associate_Source_Sens2 (Lex.Get_Value); when others => Interface_Structure.Associate_Source (Lex.Get_Value); end case; if Lex.Next_Token = L_Vers then if Lex.Next_Token = L_Id then case Le_Sens is when 1 => Interface_Structure.Associate_Destination_Sens1 (Lex.Get_Value); when 2 => Interface_Structure.Associate_Destination_Sens2 (Lex.Get_Value); when others => Interface_Structure.Associate_Destination (Lex.Get_Value); end case; Lex.Next; Variable.Description_Parse (Ok, Le_Sens); if Ok then Variable.Etat_Parse (Ok, Le_Sens); end if; end if; end if; end if; end Suite_Sens1_Sens_2; procedure Parse (Ok : in out Boolean) is use Lex; Le_Sens : Integer; begin Lex.Next; Variable.Existence_Parse (Ok); Ok := Ok and Lex.Get_Token = L_Id; Interface_Structure.Associate_Nom_Variable (Lex.Get_Value); if not Ok then Synchro.Is_On (Error.Identification_Variable, Follow.Identification_Variable); else Lex.Next; end if; if Ok then if Lex.Get_Token = L_Sens1 then Le_Sens := 1; Suite_Sens1_Sens_2 (Ok, Le_Sens); if not Ok then Synchro.Is_On (Error.Declaration_De_Communication, Follow.Declaration_De_Communication); end if; if Lex.Get_Token = L_Sens2 then Le_Sens := 2; Suite_Sens1_Sens_2 (Ok, Le_Sens); if not Ok then Synchro.Is_On (Error.Declaration_De_Communication, Follow.Declaration_De_Communication); end if; if Lex.Get_Token = L_Fincommunication then Lex.Next; Ok := True; else Ok := False; end if; else if Lex.Get_Token = L_Fincommunication then Lex.Next; Ok := True; else Ok := False; end if; end if; else Ok := False; end if; end if; end Parse; end Declaration_Communication;
nblk1=5 nid=4 hdr6=8 [0x00] rec0=1e rec1=00 rec2=01 rec3=034 [0x01] rec0=1c rec1=00 rec2=02 rec3=004 [0x02] rec0=17 rec1=00 rec2=03 rec3=012 [0x03] rec0=13 rec1=00 rec2=05 rec3=000 [0x04] rec0=c0 rec1=00 rec2=00 rec3=100 tail 0x215468bb6865b6c3d7607 0x42a00088462060003 Free Block Chain: 0x4: 0000 00 00 02 28 80 17 20 20 20 20 20 20 20 20 20 20 ┆ ( ┆