[poincare/parsing] Parse greek small letter theta

This commit is contained in:
Ruben Dashyan
2019-08-30 15:15:37 +02:00
parent fa413edc61
commit 70befe2b2e

View File

@@ -176,6 +176,11 @@ Token Tokenizer::popToken() {
result.setCodePoint(c);
return result;
}
if (c == UCodePointGreekSmallLetterTheta) {
Token result(Token::Identifier);
result.setString(start, UTF8Decoder::CharSizeOfCodePoint(UCodePointGreekSmallLetterTheta));
return result;
}
if (c == UCodePointSquareRoot) {
Token result(Token::Identifier);
// TODO compute size manually?