mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Variable access is working
This commit is contained in:
@@ -254,9 +254,8 @@ static Toy_AstFlag nameString(Toy_Bucket** bucketHandle, Toy_Parser* parser, Toy
|
||||
return TOY_AST_FLAG_NONE;
|
||||
}
|
||||
|
||||
//access
|
||||
printError(parser, parser->previous, "Unexpectedly found a variable access; this is not yet implemented");
|
||||
Toy_private_emitAstError(bucketHandle, rootHandle);
|
||||
//assume it's an access
|
||||
Toy_private_emitAstVariableAccess(bucketHandle, rootHandle, name);
|
||||
return TOY_AST_FLAG_NONE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user