Break and continue keywords are working

This commit is contained in:
2022-08-20 20:08:22 +01:00
parent daceaa5492
commit 18c5fb6add
7 changed files with 194 additions and 35 deletions

View File

@@ -588,7 +588,7 @@ static bool execFalseJump(Interpreter* interpreter) {
int target = (int)readShort(interpreter->bytecode, &interpreter->count);
if (target + interpreter->codeStart > interpreter->length) {
printf("Jump out of range\n");
printf("Jump out of range (false jump)\n");
return false;
}