From 0d6bd9b7fddbc8a1b926e3065c63ecc22f2c8fb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 25 Nov 2008 18:15:32 +0000 Subject: [PATCH] TODO: added a todo to add an error message. and removed an "invalid" todo --- CheckFunctionUsage.cpp | 4 ++-- tokenize.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CheckFunctionUsage.cpp b/CheckFunctionUsage.cpp index 056974e5b..af683185a 100644 --- a/CheckFunctionUsage.cpp +++ b/CheckFunctionUsage.cpp @@ -154,11 +154,11 @@ void CheckFunctionUsage::check() } else if ( ! func.usedOtherFile ) { -/* + /* TODO - add error message "function is only used in 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() ); -*/ + */ } } } diff --git a/tokenize.cpp b/tokenize.cpp index 4a8a75e23..2abe20c1d 100644 --- a/tokenize.cpp +++ b/tokenize.cpp @@ -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;