Skip to content

Commit

Permalink
Fix to the successful --lsp output.
Browse files Browse the repository at this point in the history
  • Loading branch information
lerno committed Jan 9, 2025
1 parent f1325f6 commit d67fcb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compiler/compiler.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,8 @@ void compiler_compile(void)
sema_analysis_run();
if (compiler.build.lsp_output)
{
eprintf("< ENDLSP-OK\n");
exit_compiler(0);
eprintf("> ENDLSP-OK\n");
exit_compiler(COMPILER_SUCCESS_EXIT);
}
compiler_sema_time = bench_mark();
Module **modules = compiler.context.module_list;
Expand Down

0 comments on commit d67fcb3

Please sign in to comment.