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

⟦1313eecfc⟧ TextFile

    Length: 2499 (0x9c3)
    Types: TextFile
    Names: »B«

Derivation

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

TextFile

separate (Syntaxe_1)
function Parse_Liste_Param_Appel
            (Nom_Exp : in Personnal_String.Pstring) return Boolean is

    function Parse_Parametres return Boolean is
        Ok : Boolean := True;
    begin
        if Parse_Operande then
            if Tds.Mknode_Param (Lex.Lex_Get_Value, Lex.Lex_Get_Token) then
                Lex.Lex_Next;
                while (Token.Object'Pos (Lex.Lex_Get_Token) =
                       Token.Object'Pos (Token.L_Virgule)) and Ok = True loop
                    Lex.Lex_Next;
                    if Parse_Operande then
                        if Tds.Mknode_Param (Lex.Lex_Get_Value,
                                             Lex.Lex_Get_Token) then
                            Lex.Lex_Next;
                        else
                            Ok :=
                               False; -- Erreur dans le choix des param. experience
                        end if;
                    else
                        Ok := False;    -- Erreur dans les parametres experience
                    end if;
                end loop;
            else
                Ok :=
                   False;          -- Erreur dans le choix des param. experience
            end if;
        else
            Ok :=
               False;             -- Erreur dans les parametres formels experience
        end if;
        return Ok;
    end Parse_Parametres;


begin
    if Token.Object'Pos (Lex.Lex_Get_Token) =
       Token.Object'Pos (Token.L_Parentheseg) then
        if Tds.Mknode_Experience (Nom_Exp) then
            Lex.Lex_Next;
            if Parse_Parametres then
                if Token.Object'Pos (Lex.Lex_Get_Token) =
                   Token.Object'Pos (Token.L_Parenthesed) then
                    Lex.Lex_Next;
                    return Tds.Mknode_Fin_Param;  
                else
                    Text_Io.Put_Line
                       ("manque parenthese droite dans parametres experience");
                    return False;
                end if;
            else
                Text_Io.Put_Line ("Erreur dans les parametres experience");
                return False;
            end if;
        else
            return False;         -- Erreur : Nom  experience mal choisi
        end if;
    else
        if Tds.Mknode_Experience (Nom_Exp) then
            return Tds.Mknode_Fin_Param;
        else
            return False;         -- Erreur : Nom experience mal choisi
        end if;
    end if;
end Parse_Liste_Param_Appel;