mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Reviewed the spec, fixed some bugs
This commit is contained in:
@@ -1471,7 +1471,9 @@ static Literal readTypeToLiteral(Parser* parser) {
|
||||
}
|
||||
break;
|
||||
|
||||
//TODO: function?
|
||||
case TOKEN_FUNCTION:
|
||||
AS_TYPE(literal).typeOf = LITERAL_FUNCTION;
|
||||
break;
|
||||
|
||||
case TOKEN_ANY:
|
||||
AS_TYPE(literal).typeOf = LITERAL_ANY;
|
||||
|
||||
Reference in New Issue
Block a user