mirror of
https://github.com/nlohmann/json.git
synced 2025-07-13 20:21:48 +03:00
fixed #156
This commit is contained in:
@ -6301,6 +6301,11 @@ class basic_json
|
||||
return "<parse error>";
|
||||
case token_type::end_of_input:
|
||||
return "<end of input>";
|
||||
default:
|
||||
{
|
||||
// catch non-enum values
|
||||
return "unknown token"; // LCOV_EXCL_LINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user