mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Functions are WIP, read more
They're no-ops in compilation for now, and param types aren't parsed. 'return' keyword needs to be implemented. Was distracted by bugfixes in v2 and v2-docs.
This commit is contained in:
@@ -50,6 +50,7 @@ int test_sizeof_ast(void) {
|
||||
TEST_SIZEOF(Toy_AstVarDeclare, 12 , 24);
|
||||
TEST_SIZEOF(Toy_AstVarAssign, 16 , 24);
|
||||
TEST_SIZEOF(Toy_AstVarAccess, 8 , 16);
|
||||
TEST_SIZEOF(Toy_AstFnDeclare, 16 , 32);
|
||||
TEST_SIZEOF(Toy_AstPass, 4 , 4);
|
||||
TEST_SIZEOF(Toy_AstError, 4 , 4);
|
||||
TEST_SIZEOF(Toy_AstEnd, 4 , 4);
|
||||
|
||||
Reference in New Issue
Block a user