fixed #156
This commit is contained in:
parent
ac4d4a0f66
commit
1adb9d62dd
2 changed files with 10 additions and 0 deletions
|
@ -6301,6 +6301,11 @@ class basic_json
|
||||||
return "<parse error>";
|
return "<parse error>";
|
||||||
case token_type::end_of_input:
|
case token_type::end_of_input:
|
||||||
return "<end of input>";
|
return "<end of input>";
|
||||||
|
default:
|
||||||
|
{
|
||||||
|
// catch non-enum values
|
||||||
|
return "unknown token"; // LCOV_EXCL_LINE
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6301,6 +6301,11 @@ class basic_json
|
||||||
return "<parse error>";
|
return "<parse error>";
|
||||||
case token_type::end_of_input:
|
case token_type::end_of_input:
|
||||||
return "<end of input>";
|
return "<end of input>";
|
||||||
|
default:
|
||||||
|
{
|
||||||
|
// catch non-enum values
|
||||||
|
return "unknown token"; // LCOV_EXCL_LINE
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue