Adjusted indentations

This commit is contained in:
Kyler Olsen 2025-12-01 00:19:54 -07:00
parent 90492053f2
commit 7f46fd7f84
2 changed files with 8 additions and 10 deletions

View File

@ -43,8 +43,7 @@ Boolean exec_file(InterpreterState *interpreter_state, SlsStr filename) {
sls_str_free(&result.error.message);
clean_token_result(result.result);
return FALSE;
} else
if (!execute(interpreter_state, head)) {
} else if (!execute(interpreter_state, head)) {
printf("A runtime error occurred!\n");
break;
}

View File

@ -101,8 +101,7 @@ int repl() {
if (head->type == SLS_ERROR) {
printf("%s\n", head->error.message.str);
break;
} else
if (!execute(interpreter_state, head)) {
} else if (!execute(interpreter_state, head)) {
printf("A runtime error occurred!\n");
break;
}