Avoid use of designated initializer for the sake of `cxx_abi`.

parent d2f267a1
...@@ -956,7 +956,7 @@ dump_pool(mrb_state *mrb, const mrb_pool_value *p, FILE *fp) ...@@ -956,7 +956,7 @@ dump_pool(mrb_state *mrb, const mrb_pool_value *p, FILE *fp)
else { /* string */ else { /* string */
int i, len = p->tt>>2; int i, len = p->tt>>2;
const char *s = p->u.str; const char *s = p->u.str;
fprintf(fp, "{IREP_TT_STR|(%d<<2), {.str=\"", len); fprintf(fp, "{IREP_TT_STR|(%d<<2), {\"", len);
for (i=0; i<len; i++) { for (i=0; i<len; i++) {
fprintf(fp, "\\x%02x", (int)s[i]&0xff); fprintf(fp, "\\x%02x", (int)s[i]&0xff);
} }
......
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