1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-10 22:00:59 +03:00

fixed a bug

This commit is contained in:
Niels
2015-02-11 13:15:22 +01:00
parent 032bcf6493
commit 7b7a54aca5
3 changed files with 28 additions and 21 deletions

View File

@ -2476,7 +2476,7 @@ class basic_json
unsigned int yyaccept = 0;
static const unsigned char yybm[] =
{
64, 64, 64, 64, 64, 64, 64, 64,
0, 64, 64, 64, 64, 64, 64, 64,
64, 192, 192, 64, 64, 192, 64, 64,
64, 64, 64, 64, 64, 64, 64, 64,
64, 64, 64, 64, 64, 64, 64, 64,
@ -2650,6 +2650,10 @@ json_parser_7:
json_parser_8:
yyaccept = 0;
yych = *(m_marker = ++m_cursor);
if (yych <= 0x00)
{
goto json_parser_6;
}
goto json_parser_53;
json_parser_9:
++m_cursor;
@ -2955,6 +2959,10 @@ json_parser_53:
{
goto json_parser_52;
}
if (yych <= 0x00)
{
goto json_parser_29;
}
if (yych <= '"')
{
goto json_parser_55;