Fixed JSON integers as strings not being parsed correctly.

Change-Id: If34aef46ef619e06de799cff14948b02e98da86d
Tested: on Linux.
parent e597ad8f
...@@ -974,6 +974,7 @@ CheckedError Parser::ParseSingleValue(Value &e) { ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment