mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
WIP: Started on break & continue, needs Toy_Array in Toy_Value first
This commit is contained in:
@@ -27,6 +27,8 @@ int test_sizeof_ast_64bit() {
|
||||
TEST_SIZEOF(Toy_AstAssert, 24);
|
||||
TEST_SIZEOF(Toy_AstIfThenElse, 32);
|
||||
TEST_SIZEOF(Toy_AstWhileThen, 24);
|
||||
TEST_SIZEOF(Toy_AstBreak, 4);
|
||||
TEST_SIZEOF(Toy_AstContinue, 4);
|
||||
TEST_SIZEOF(Toy_AstPrint, 16);
|
||||
TEST_SIZEOF(Toy_AstVarDeclare, 24);
|
||||
TEST_SIZEOF(Toy_AstVarAssign, 24);
|
||||
@@ -63,6 +65,8 @@ int test_sizeof_ast_32bit() {
|
||||
TEST_SIZEOF(Toy_AstAssert, 12);
|
||||
TEST_SIZEOF(Toy_AstIfThenElse, 16);
|
||||
TEST_SIZEOF(Toy_AstWhileThen, 12);
|
||||
TEST_SIZEOF(Toy_AstBreak, 4);
|
||||
TEST_SIZEOF(Toy_AstContinue, 4);
|
||||
TEST_SIZEOF(Toy_AstPrint, 8);
|
||||
TEST_SIZEOF(Toy_AstVarDeclare, 12);
|
||||
TEST_SIZEOF(Toy_AstVarAssign, 16);
|
||||
|
||||
Reference in New Issue
Block a user