summaryrefslogtreecommitdiff
path: root/tools/preproc/utf8.cpp
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-04-30 04:19:00 -0700
committerYamaArashi <shadow962@live.com>2016-04-30 04:19:00 -0700
commit1e6eb4f81296eca9c2f1f373c19716939f9b6be6 (patch)
treeffd770e2b6447120c513cf75ef059d588beff112 /tools/preproc/utf8.cpp
parent000e34c6f29655aa20034e390e4e2a6c1f7a1258 (diff)
use compiled libgcc
Diffstat (limited to 'tools/preproc/utf8.cpp')
-rw-r--r--tools/preproc/utf8.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/preproc/utf8.cpp b/tools/preproc/utf8.cpp
index 0aed83f4a..7facfd44e 100644
--- a/tools/preproc/utf8.cpp
+++ b/tools/preproc/utf8.cpp
@@ -61,8 +61,6 @@ static const unsigned char s_transitionTable[] =
};
// Decodes UTF-8 encoded Unicode code point at "s".
-// If the encoding is valid, it returns the code point and advances "s" past the byte sequence.
-// If the encoding is not valid, it returns -1 and doesn't advance "s".
UnicodeChar DecodeUtf8(const char* s)
{
UnicodeChar unicodeChar;