18 #define warn_print(x) rb_write_error(x)
19 #define warn_print2(x,l) rb_write_error2((x),(l))
28 if (sourceline == 0) {
32 warn_printf(
"%s:%d:in `%s'", sourcefile, sourceline,
71 volatile VALUE eclass, e;
72 const char *
volatile einfo;
142 if ((tail = memchr(einfo,
'\n', elen)) != 0) {
166 #define TRACE_MAX (TRACE_HEAD+TRACE_TAIL+5)
170 for (i = 1; i <
len; i++) {
247 warn_print(
": retry outside of rescue clause\n");
271 rb_bug(
"Unknown longjmp status %d", ex);
#define RSTRING_LEN(string)
#define warn_print2(x, l)
void rb_bug(const char *fmt,...)
static void error_pos(void)
static void set_backtrace(VALUE info, VALUE bt)
static int sysexit_status(VALUE err)
VALUE rb_funcall(VALUE, ID, int,...)
Calls a method.
#define RSTRING_PTR(string)
VALUE rb_obj_is_kind_of(VALUE, VALUE)
#define RARRAY_LEN(ARRAY)
void rb_name_error(ID id, const char *fmt,...)
void rb_write_error(const char *)
static VALUE get_backtrace(VALUE info)
VALUE rb_class_name(VALUE)
static int error_handle(int ex)
int rb_threadptr_set_raised(rb_thread_t *th)
VALUE rb_iv_get(VALUE, const char *)
VALUE rb_get_backtrace(VALUE info)
#define rb_thread_raised_clear(th)
#define rb_thread_raised_set(th, f)
unsigned char buf[MIME_BUF_SIZE]
const char * rb_class2name(VALUE)
int rb_threadptr_reset_raised(rb_thread_t *th)
register unsigned int len
#define RARRAY_PTR(ARRAY)
void ruby_error_print(void)
#define va_init_list(a, b)
static void warn_printf(const char *fmt,...)
VALUE rb_obj_is_instance_of(VALUE, VALUE)
VALUE rb_check_backtrace(VALUE bt)
const char * rb_id2name(ID id)
void rb_print_undef(VALUE klass, ID id, int scope)
static void error_print(void)