Adjusted indentations
This commit is contained in:
parent
90492053f2
commit
7f46fd7f84
|
|
@ -43,8 +43,7 @@ Boolean exec_file(InterpreterState *interpreter_state, SlsStr filename) {
|
||||||
sls_str_free(&result.error.message);
|
sls_str_free(&result.error.message);
|
||||||
clean_token_result(result.result);
|
clean_token_result(result.result);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
} else
|
} else if (!execute(interpreter_state, head)) {
|
||||||
if (!execute(interpreter_state, head)) {
|
|
||||||
printf("A runtime error occurred!\n");
|
printf("A runtime error occurred!\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -101,8 +101,7 @@ int repl() {
|
||||||
if (head->type == SLS_ERROR) {
|
if (head->type == SLS_ERROR) {
|
||||||
printf("%s\n", head->error.message.str);
|
printf("%s\n", head->error.message.str);
|
||||||
break;
|
break;
|
||||||
} else
|
} else if (!execute(interpreter_state, head)) {
|
||||||
if (!execute(interpreter_state, head)) {
|
|
||||||
printf("A runtime error occurred!\n");
|
printf("A runtime error occurred!\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue