projects
/
platform
/
upstream
/
flatbuffers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e597ad8
)
Fixed JSON integers as strings not being parsed correctly.
author
Wouter van Oortmerssen
<wvo@google.com>
Mon, 11 Apr 2016 18:08:09 +0000
(11:08 -0700)
committer
Wouter van Oortmerssen
<wvo@google.com>
Mon, 11 Apr 2016 18:08:09 +0000
(11:08 -0700)
Change-Id: If34aef46ef619e06de799cff14948b02e98da86d
Tested: on Linux.
src/idl_parser.cpp
patch
|
blob
|
history
diff --git
a/src/idl_parser.cpp
b/src/idl_parser.cpp
index
21508cc
..
1df44ad
100644
(file)
--- 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;