Added more reserved words

This commit is contained in:
2024-10-27 18:07:52 +11:00
parent e3bb7c0d25
commit b30a092ab8
3 changed files with 5 additions and 5 deletions

View File

@@ -21,9 +21,9 @@ const Toy_KeywordTypeTuple keywordTuples[] = {
{TOY_TOKEN_TYPE_INTEGER, "int"},
{TOY_TOKEN_TYPE_FLOAT, "float"},
{TOY_TOKEN_TYPE_STRING, "string"},
// TOY_TOKEN_TYPE_ARRAY,
// TOY_TOKEN_TYPE_DICTIONARY,
// TOY_TOKEN_TYPE_FUNCTION,
{TOY_TOKEN_TYPE_ARRAY, "array"},
{TOY_TOKEN_TYPE_TABLE, "table"},
{TOY_TOKEN_TYPE_FUNCTION, "function"}, //TODO: type??
{TOY_TOKEN_TYPE_OPAQUE, "opaque"},
{TOY_TOKEN_TYPE_ANY, "any"},