Fixed JSON integers as strings not being parsed correctly.

Change-Id: If34aef46ef619e06de799cff14948b02e98da86d
Tested: on Linux.
This commit is contained in:
Wouter van Oortmerssen
2016-04-11 11:08:09 -07:00
parent e597ad8f0f
commit 83dc5ed4a7

View File

@@ -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;