TODO: added a todo to add an error message. and removed an "invalid" todo
This commit is contained in:
parent
4df96f299f
commit
0d6bd9b7fd
|
@ -154,11 +154,11 @@ void CheckFunctionUsage::check()
|
|||
}
|
||||
else if ( ! func.usedOtherFile )
|
||||
{
|
||||
/*
|
||||
/* TODO - add error message "function is only used in <file> it can be static"
|
||||
std::ostringstream errmsg;
|
||||
errmsg << "The function '" << it->first << "' is only used in the file it was declared in so it should have local linkage.";
|
||||
_errorLogger->reportErr( errmsg.str() );
|
||||
*/
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -259,7 +259,7 @@ void Tokenizer::TokenizeCode(std::istream &code, const unsigned int FileIndex)
|
|||
std::string CurrentToken;
|
||||
for (char ch = (char)code.get(); code.good(); ch = (char)code.get())
|
||||
{
|
||||
// Todo
|
||||
// We are not handling UTF and stuff like that. Code is supposed to plain simple text.
|
||||
if ( ch < 0 )
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Reference in New Issue