Changeset 6253 for trunk/MagicSoft/Mars/mfbase
- Timestamp:
- 02/04/05 13:31:19 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfbase/MF.cc
r5956 r6253 172 172 if (fg<0 && fl<0) 173 173 { 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 177 185 if (fg>=0 && fl>=0) 178 186 { … … 199 207 200 208 txt = ""; 201 202 209 return f; 203 210 }
Note:
See TracChangeset
for help on using the changeset viewer.