BUG: add check for missing ) on function

This commit is contained in:
Bill Hoffman 2001-01-12 13:48:38 -05:00
parent 9a0e8e41de
commit c9c08bca66
1 changed files with 6 additions and 0 deletions

View File

@ -242,6 +242,12 @@ bool cmSystemTools::ParseFunction(std::ifstream& fin,
cmSystemTools::GetArguments(line, arguments); cmSystemTools::GetArguments(line, arguments);
} }
} }
else
{
cmSystemTools::Error("Parse error in read function missing end )",
inbuffer);
return false;
}
} }
return true; return true;
} }