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

⟦62affbbad⟧ TextFile

    Length: 1781 (0x6f5)
    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_Autre_Parametre (Ok : out Boolean) is
    Success : Boolean;
begin
    Ok := True;
    Text_Io.Put_Line ("parse_autre_parametres");
    while Lex.Get_Token /= L_Fermante loop
        if Lex.Get_Token = L_Virgule then
            Lex.Next;
            if Lex.Get_Token = L_Id then

                declare
                    Id : constant String := Lex.Get_Value;
                begin
                    Symbol_Table.Insert (Id, Success);
                    if not (Success) then
                        Error.Found;
                    end if;
                    Lex.Next;
                    if Lex.Get_Token = L_2points then
                        Lex.Next;
                        if Lex.Get_Token = L_Id then
                            declare
                                Id2 : constant String := Lex.Get_Value;
                                The_Class : Element.Class;
                            begin
                                if Symbol_Table.Is_Visible (Id2) then
                                    The_Class := Element.Convert_To_Class (Id2);
                                    Symbol_Table.Set_Class
                                       (Id, The_Class, Success);
                                else
                                    Error.Found;
                                end if;
                                Lex.Next;
                            end;
                        else
                            Ok := False;
                        end if;
                    end if;
                end;
            else
                Ok := False;
                exit;
            end if;
        else
            Ok := False;
            exit;
        end if;
    end loop;
end Parse_Autre_Parametre;