less strict handling of empty function blocks, than before

This commit is contained in:
nemu
2010-11-17 14:18:11 +00:00
parent 62d33112ba
commit 04e9d4e04f
2 changed files with 2 additions and 3 deletions

View File

@ -2282,10 +2282,8 @@ Bool_t PMsrHandler::HandleFunctionsEntry(PMsrLines &lines)
// check if an empty FUNCTIONS block is present
if ((fFuncHandler->GetNoOfFuncs() == 0) && !lines.empty()) {
cerr << endl << ">> PMsrHandler::HandleFunctionsEntry: **ERROR** empty FUNCTIONS block are not supported!";
cerr << endl << ">> If you want to keep it, just comment the whole block ;-)";
cerr << endl << ">> PMsrHandler::HandleFunctionsEntry: **WARNING** empty FUNCTIONS block found!";
cerr << endl;
return false;
}
return true;