patterns: Added UTF-16 character type and string parsing

This commit is contained in:
WerWolv
2021-05-02 20:13:37 +02:00
parent 0c6bd73996
commit 4029c333ed
5 changed files with 70 additions and 9 deletions

View File

@@ -450,6 +450,8 @@ namespace hex::lang {
tokens.emplace_back(TOKEN(ValueType, Double));
else if (identifier == "char")
tokens.emplace_back(TOKEN(ValueType, Character));
else if (identifier == "char16")
tokens.emplace_back(TOKEN(ValueType, Character16));
else if (identifier == "bool")
tokens.emplace_back(TOKEN(ValueType, Boolean));
else if (identifier == "padding")