ENH: make sure uncommented modules are not documented
This commit is contained in:
parent
affced3f81
commit
037487a488
|
@ -309,9 +309,8 @@ bool cmDocumentation::CreateSingleModule(const char* fname, const char* moduleNa
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if(text.length() < 2 && brief.length() == 0)
|
if(text.length() < 2 && brief.length() == 1)
|
||||||
{
|
{
|
||||||
std::cerr << text << " " << brief << "\n";
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
char* pname = strcpy(new char[strlen(moduleName)+1], moduleName);
|
char* pname = strcpy(new char[strlen(moduleName)+1], moduleName);
|
||||||
|
|
Loading…
Reference in New Issue