BUG: add check for missing ) on function
This commit is contained in:
parent
9a0e8e41de
commit
c9c08bca66
|
@ -242,6 +242,12 @@ bool cmSystemTools::ParseFunction(std::ifstream& fin,
|
|||
cmSystemTools::GetArguments(line, arguments);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
cmSystemTools::Error("Parse error in read function missing end )",
|
||||
inbuffer);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue