ext/include/iv/lexer.h in iv-phonic-0.0.5 vs ext/include/iv/lexer.h in iv-phonic-0.0.6

- old
+ new

@@ -10,10 +10,11 @@ #include "chars.h" #include "token.h" #include "location.h" #include "noncopyable.h" #include "keyword.h" +#include "conversions.h" namespace iv { namespace core { template<typename Source> @@ -836,29 +837,9 @@ } res = res * 16 + d; Advance(); } return res; - } - - inline int OctalValue(const int c) const { - if ('0' <= c && c <= '8') { - return c - '0'; - } - return -1; - } - - inline int HexValue(const int c) const { - if ('0' <= c && c <= '9') { - return c - '0'; - } - if ('a' <= c && c <= 'f') { - return c - 'a' + 10; - } - if ('A' <= c && c <= 'F') { - return c - 'A' + 10; - } - return -1; } void ScanDecimalDigits() { while (Chars::IsDecimalDigit(c_)) { Record8Advance();