mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-05-05 16:30:17 +10:00
Implemented the following attributes:
* String.length * String.asUpper * String.asLower * array.length * array.pushBack(x) * array.popBack() The remaining attributes are listed in 'toy_attributes.h'
This commit is contained in:
+1
-1
@@ -751,7 +751,7 @@ static Toy_AstFlag attribute(Toy_Bucket** bucketHandle, Toy_Parser* parser, Toy_
|
||||
}
|
||||
|
||||
Toy_private_emitAstAttribute(bucketHandle, rootHandle, expr->varAccess.child);
|
||||
return TOY_AST_FLAG_NONE;
|
||||
return TOY_AST_FLAG_ATTRIBUTE;
|
||||
}
|
||||
else {
|
||||
printError(parser, parser->previous, "Unexpected token passed to attribute precedence rule");
|
||||
|
||||
Reference in New Issue
Block a user