mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
WIP return keyword, read more
Functions are having issues with being copied around, especially between buckets, leading to the scopes getting looped. The program gets stuck in 'incrementRefCount()'. It's past my time limit, so I'll keep working on it tomorrow with a fresh mind. All function stuff is still untested. See #163
This commit is contained in:
@@ -46,6 +46,7 @@ int test_sizeof_ast(void) {
|
||||
TEST_SIZEOF(Toy_AstWhileThen, 12 , 24);
|
||||
TEST_SIZEOF(Toy_AstBreak, 4 , 4);
|
||||
TEST_SIZEOF(Toy_AstContinue, 4 , 4);
|
||||
TEST_SIZEOF(Toy_AstReturn, 8 , 16);
|
||||
TEST_SIZEOF(Toy_AstPrint, 8 , 16);
|
||||
TEST_SIZEOF(Toy_AstVarDeclare, 12 , 24);
|
||||
TEST_SIZEOF(Toy_AstVarAssign, 16 , 24);
|
||||
|
||||
Reference in New Issue
Block a user