Embed debug information to resolve Windows VC's issue.

parent 21ee56d8
...@@ -198,7 +198,7 @@ check_name_arg(mrb_state *mrb, int posarg, const char *name, size_t len) ...@@ -198,7 +198,7 @@ check_name_arg(mrb_state *mrb, int posarg, const char *name, size_t len)
#define GETNUM(n, val) do { \ #define GETNUM(n, val) do { \
if (!(p = get_num(mrb, p, end, &(n)))) \ if (!(p = get_num(mrb, p, end, &(n)))) \
mrb_raise(mrb, E_ARGUMENT_ERROR, #val " too big"); \ mrb_raise(mrb, E_ARGUMENT_ERROR, #val " too big 1"); \
} while(0) } while(0)
#define GETASTER(num) do { \ #define GETASTER(num) do { \
...@@ -1082,7 +1082,7 @@ retry: ...@@ -1082,7 +1082,7 @@ retry:
need = width; need = width;
if (need < 0) { if (need < 0) {
mrb_raise(mrb, E_ARGUMENT_ERROR, "width too big"); mrb_raise(mrb, E_ARGUMENT_ERROR, "width too big 2");
} }
FILL(' ', need); FILL(' ', need);
if (flags & FMINUS) { if (flags & FMINUS) {
...@@ -1108,7 +1108,7 @@ retry: ...@@ -1108,7 +1108,7 @@ retry:
if (need > MRB_INT_MAX - ((flags&FPREC) ? prec : 6)) { if (need > MRB_INT_MAX - ((flags&FPREC) ? prec : 6)) {
too_big_width: too_big_width:
mrb_raise(mrb, E_ARGUMENT_ERROR, mrb_raise(mrb, E_ARGUMENT_ERROR,
(width > prec ? "width too big" : "prec too big")); (width > prec ? "width too big 3" : "prec too big"));
} }
need += (flags&FPREC) ? prec : 6; need += (flags&FPREC) ? prec : 6;
if ((flags&FWIDTH) && need < width) if ((flags&FWIDTH) && need < width)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment