File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -419,6 +419,11 @@ TOML_IMPL_NAMESPACE_START
419
419
void TOML_CALLCONV print_to_stream (std::ostream & stream, const source_region& val)
420
420
{
421
421
print_to_stream (stream, val.begin );
422
+ if (val.begin != val.end )
423
+ {
424
+ print_to_stream (stream, " to " sv);
425
+ print_to_stream (stream, val.end );
426
+ }
422
427
if (val.path )
423
428
{
424
429
print_to_stream (stream, " of '" sv);
Original file line number Diff line number Diff line change @@ -10694,6 +10694,11 @@ TOML_IMPL_NAMESPACE_START
10694
10694
void TOML_CALLCONV print_to_stream (std::ostream & stream, const source_region& val)
10695
10695
{
10696
10696
print_to_stream (stream, val.begin );
10697
+ if (val.begin != val.end )
10698
+ {
10699
+ print_to_stream (stream, " to " sv);
10700
+ print_to_stream (stream, val.end );
10701
+ }
10697
10702
if (val.path )
10698
10703
{
10699
10704
print_to_stream (stream, " of '" sv);
You can’t perform that action at this time.
0 commit comments