DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦47f5fd866⟧ TextFile

    Length: 1260 (0x4ec)
    Types: TextFile
    Names: »B«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 

TextFile

separate (Parse)
procedure Parse_Affectation (Ok : out Boolean;
                             The_Node : out Abstract_Tree.P_Node) is
    Ok1 : Boolean := True;
    Expr_Node : Abstract_Tree.P_Node;
    Id_Node : Abstract_Tree.P_Node;
    Success : Boolean;
begin
    Ok := True;
    Text_Io.Put_Line ("parse_affectation");
    if Lex.Get_Token = L_Id then
        declare
            Id : constant String := Lex.Get_Value;
        begin
            if not (Symbol_Table.Is_Visible (Id)) then
                Symbol_Table.Insert (Id, Success);
            end if;
            Id_Node := Abstract_Tree.Make_Foliage (L_Id, Id);
            Lex.Next;
            if Lex.Get_Token = L_Affect then
                Lex.Next;
                Parse_Expression (Ok1, Expr_Node);
                if not Ok1 then
                    Parse_Error (Expr_Follow);
                else
                    The_Node := Abstract_Tree.Make_Node
                                   (L_Affect, Id_Node, Expr_Node);
                end if;
            else
                Ok := False;
                The_Node := Abstract_Tree.Empty_Node;
            end if;
        end;
    else
        Ok := False;
        The_Node := Abstract_Tree.Empty_Node;
    end if;
end Parse_Affectation;