mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-19 22:25:42 +00:00
Fixed JSON integers as strings not being parsed correctly.
Change-Id: If34aef46ef619e06de799cff14948b02e98da86d Tested: on Linux.
This commit is contained in:
@@ -974,6 +974,7 @@ CheckedError Parser::ParseSingleValue(Value &e) {
|
|||||||
assert(0); // Shouldn't happen, we covered all types.
|
assert(0); // Shouldn't happen, we covered all types.
|
||||||
e.constant = "0";
|
e.constant = "0";
|
||||||
}
|
}
|
||||||
|
NEXT();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
bool match = false;
|
bool match = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user