Overhauled Section checker, and added ability to find code in not executable segements.

This commit is contained in:
n-a-c-h
2005-07-10 12:37:08 +00:00
parent 5bd3b89854
commit fc4176bf24
4 changed files with 111 additions and 14 deletions

View File

@@ -44,3 +44,15 @@ void Tokenize(const string& str, vector<string>& tokens, const string& delimiter
pos = str.find_first_of(delimiters, lastPos);
}
}
bool all_whitespace(const char *str)
{
for (; *str; str++)
{
if (!isspace(*str))
{
return(false);
}
}
return(true);
}