|
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 Compare_Id, seg_047e1c
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Our_Value, Erreur, Un_Facteur, Compare_Id1; use Our_Value; package body Compare_Id is procedure Parse (Value : in out Our_Value.Var_Value) is Local : Our_Value.Var_Value; begin if Lex.Get_Token = Equal then Lex.Next; Compare_Id1.Parse (Local); if Get_Type (Value) = Get_Type (Local) then Set_Value (Value, Cmp (Value, Local)); else Erreur.Parse ("il y a un conflit de type"); end if; elsif Lex.Get_Token = Not_Equal then Lex.Next; Compare_Id1.Parse (Local); if Get_Type (Value) = Get_Type (Local) then Set_Value (Value, not Cmp (Value, Local)); else Erreur.Parse ("il y a un conflit de type"); end if; elsif (Get_Type (Value) = Type_Integer) then case Lex.Get_Token is when Less => Lex.Next; Un_Facteur.Parse (Local); Set_Value (Value, Value < Local); when Less_Equal => Lex.Next; Un_Facteur.Parse (Local); Set_Value (Value, Value <= Local); when Great => Lex.Next; Un_Facteur.Parse (Local); Set_Value (Value, Value > Local); when Great_Equal => Lex.Next; Un_Facteur.Parse (Local); Set_Value (Value, Value >= Local); when others => null; end case; end if; end Parse; end Compare_Id;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=1f rec1=00 rec2=01 rec3=01a [0x01] rec0=1d rec1=00 rec2=02 rec3=001 tail 0x21544ed7486577439c2f2 0x42a00088462060003