private int ParseUnicodeCodePoint() {
int codepoint = 0;
int i = 0;
while (true) {
int digit = Tokenizer.ToDigit(Peek());
if (digit >= 16) {
break;
}
if (i < 7) {
codepoint = (codepoint << 4) | digit;
}
i++;
Skip();
}
if (i == 0) {
throw MakeError("invalid Unicode list");
}
return codepoint;
}