This commit is contained in:
Nobuyoshi Nakada 2024-01-13 16:34:32 +09:00
parent 573bfb3a14
commit d999ed3a2f
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -3854,7 +3854,7 @@ Init_syserr(void)
rb_define_const(rb_mErrno, "NOERROR", rb_eNOERROR);
#endif
#define defined_error(name, num) set_syserr((num), (name));
#define undefined_error(name) rb_define_const(rb_mErrno, (name), rb_eNameError);
#define undefined_error(name) rb_define_const(rb_mErrno, (name), rb_eNOERROR);
#include "known_errors.inc"
#undef defined_error
#undef undefined_error