Fixing formatting of range of range of char. (#3158)

This commit is contained in:
Barry Revzin
2022-11-02 13:04:54 -05:00
committed by GitHub
parent 80f8d34427
commit 66d71a1b35
2 changed files with 11 additions and 2 deletions

View File

@@ -475,7 +475,7 @@ struct range_formatter<
auto end = ctx.end();
if (it == end || *it == '}') {
maybe_set_debug_format();
return it;
return underlying_.parse(ctx);
}
if (*it == 'n') {
@@ -485,7 +485,8 @@ struct range_formatter<
if (*it == '}') {
maybe_set_debug_format();
return it;
ctx.advance_to(it);
return underlying_.parse(ctx);
}
if (*it != ':')