diff --git a/ext/objspace/objspace_dump.c b/ext/objspace/objspace_dump.c index 35a7282500..f81855c148 100644 --- a/ext/objspace/objspace_dump.c +++ b/ext/objspace/objspace_dump.c @@ -191,6 +191,7 @@ dump_append_string_value(struct dump_config *dc, VALUE obj) switch ((c = value[i])) { case '\\': dump_append(dc, "\\\\"); + break; case '"': dump_append(dc, "\\\""); break;