From 6db12c4f882411293da71c5951ba7088a9712c13 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Mon, 1 Aug 2016 14:10:46 +0100 Subject: Rename addUnicodeChar to addUnicodeAsUTF8 --- libsolidity/parsing/Scanner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libsolidity/parsing/Scanner.cpp') diff --git a/libsolidity/parsing/Scanner.cpp b/libsolidity/parsing/Scanner.cpp index 616e6a96..d730210a 100644 --- a/libsolidity/parsing/Scanner.cpp +++ b/libsolidity/parsing/Scanner.cpp @@ -196,7 +196,7 @@ bool Scanner::scanUnicode(unsigned & o_codepoint) } // This supports codepoints between 0000 and FFFF. -void Scanner::addUnicodeChar(unsigned codepoint) +void Scanner::addUnicodeAsUTF8(unsigned codepoint) { if (codepoint <= 0x7f) addLiteralChar(codepoint); @@ -647,7 +647,7 @@ bool Scanner::scanEscape() unsigned codepoint; if (!scanUnicode(codepoint)) return false; - addUnicodeChar(codepoint); + addUnicodeAsUTF8(codepoint); return true; } case 'x': -- cgit