Fixed division by zero bugs

This commit is contained in:
2022-08-12 07:26:58 +01:00
parent 42e55c1db6
commit 80b64cf21e
3 changed files with 31 additions and 7 deletions

View File

@@ -69,7 +69,7 @@ static void eatWhitespace(Lexer* lexer) {
advance(lexer);
break;
}
break;
return;
default:
return;