Spelling: catched -> caught
This commit is contained in:
parent
75c0cafe4d
commit
a0e95cc0b8
4 changed files with 4 additions and 4 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue