diff --git a/gb.jit.llvm/src/jit_codegen.cpp b/gb.jit.llvm/src/jit_codegen.cpp index c90a98e4f..96c11f980 100644 --- a/gb.jit.llvm/src/jit_codegen.cpp +++ b/gb.jit.llvm/src/jit_codegen.cpp @@ -3709,7 +3709,7 @@ void LargeCatchExpression::codegen(){ //Also in ReturnExpression if returning before this builder->CreateCall(get_global_function(JR_end_try, 'v', "p"), create_gep(temp_errcontext2, TARGET_BITS, 0, TARGET_BITS, 0)); - //Differs from original interpreter, error thrown in a Finally block is not catched. + //Differs from original interpreter, error thrown in a Finally block is not caught. builder->CreateStore(get_nullptr(), get_global((void*)&EC)); } diff --git a/main/gbx/gbx_c_process.c b/main/gbx/gbx_c_process.c index a6f5d23ac..eba4a9138 100644 --- a/main/gbx/gbx_c_process.c +++ b/main/gbx/gbx_c_process.c @@ -979,7 +979,7 @@ void CPROCESS_wait_for(CPROCESS *process, int timeout) fprintf(stderr, "Waiting for %d\n", process->pid); #endif - // If CPROCESS_check() catched the process end, process->running is not set yet, because + // If CPROCESS_check() caught the process end, process->running is not set yet, because // stop_process() will be raised at the next event loop. So no need to wait for it. if (process->wait) diff --git a/main/lib/signal/csignal.c b/main/lib/signal/csignal.c index 881fec23b..5ce5c6c91 100644 --- a/main/lib/signal/csignal.c +++ b/main/lib/signal/csignal.c @@ -131,7 +131,7 @@ static void handle_signal(int num, char state) { if (num == SIGKILL || num == SIGSTOP) { - GB.Error("SIGKILL and SIGSTOP cannot be catched"); + GB.Error("SIGKILL and SIGSTOP cannot be caught"); return; } diff --git a/main/share/gambas.h b/main/share/gambas.h index 4b29374d8..756d1dd71 100644 --- a/main/share/gambas.h +++ b/main/share/gambas.h @@ -594,7 +594,7 @@ typedef #define CALL_HOOK_MAIN(_hook, _pargc, _pargv) do { if (_hook) { ((void (*)(int *, char ***))(_hook))((_pargc), (_pargv)); } } while (0); -/* Constants that represent interpreter signals catched by GB_SIGNAL function */ +/* Constants that represent interpreter signals caught by GB_SIGNAL function */ #define GB_SIGNAL_DEBUG_BREAK 1 #define GB_SIGNAL_DEBUG_CONTINUE 2