diff --git a/output/my_basic.exe b/output/my_basic.exe index dbd4ac6..16440c0 100755 Binary files a/output/my_basic.exe and b/output/my_basic.exe differ diff --git a/sample/sample06.bas b/sample/sample06.bas index 10eb9dd..2f9e96b 100644 --- a/sample/sample06.bas +++ b/sample/sample06.bas @@ -16,7 +16,7 @@ endclass class dog(animal) def speak(a) - print "bark" + a; + print "woof" + a; enddef endclass diff --git a/shell/main.c b/shell/main.c index 51310de..eb2a157 100755 --- a/shell/main.c +++ b/shell/main.c @@ -213,7 +213,7 @@ static void _tidy_mem_pool(void) { } static void _open_mem_pool(void) { -#define N 23 +#define N 22 size_t szs[N]; size_t lst[N]; int i = 0; @@ -245,6 +245,8 @@ static void _open_mem_pool(void) { szs[i++] = MB_SIZEOF_RTN; szs[i++] = MB_SIZEOF_CLS; + mb_assert(i == N); + memset(lst, 0, sizeof(lst)); /* Find all unduplicated sizes */