From 83dc5ed4a7267c78fb3f00e972de4db30762166d Mon Sep 17 00:00:00 2001 From: Wouter van Oortmerssen Date: Mon, 11 Apr 2016 11:08:09 -0700 Subject: [PATCH] Fixed JSON integers as strings not being parsed correctly. Change-Id: If34aef46ef619e06de799cff14948b02e98da86d Tested: on Linux. --- src/idl_parser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/idl_parser.cpp b/src/idl_parser.cpp index 21508ccd8..1df44add1 100644 --- a/src/idl_parser.cpp +++ b/src/idl_parser.cpp @@ -974,6 +974,7 @@ CheckedError Parser::ParseSingleValue(Value &e) { assert(0); // Shouldn't happen, we covered all types. e.constant = "0"; } + NEXT(); } } else { bool match = false;