Ignore:
Timestamp:
02/04/05 13:31:19 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mfbase/MF.cc

    r5956 r6253  
    172172    if (fg<0 && fl<0)
    173173    {
    174         *fLog << err << dbginf << "Syntax Error: No coditional sign found in " << txt << endl;
    175         return NULL;
    176     }
     174        MFilter *f = (MFilter*)GetNewObject(txt, MFilter::Class());
     175        if (!f)
     176        {
     177            *fLog << err << dbginf << "Syntax Error: '" << txt << "' is neither a MFilter nor conditional sign found." << endl;
     178            return NULL;
     179        }
     180        // FIXME: Search object through list...?
     181        txt = "";
     182        return f;
     183    }
     184
    177185    if (fg>=0 && fl>=0)
    178186    {
     
    199207
    200208    txt = "";
    201 
    202209    return f;
    203210}
Note: See TracChangeset for help on using the changeset viewer.