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:
75349ae
)
Fixed namespace declaration not being cleared between files.
author
Wouter van Oortmerssen
<wvo@google.com>
Wed, 9 Jul 2014 21:21:11 +0000
(14:21 -0700)
committer
Wouter van Oortmerssen
<wvo@google.com>
Thu, 10 Jul 2014 00:13:03 +0000
(17:13 -0700)
Change-Id: Ie9fedf894d82a403d0b6b4848d221d6bbee58984
Tested: on OS X.
src/idl_parser.cpp
patch
|
blob
|
history
diff --git
a/src/idl_parser.cpp
b/src/idl_parser.cpp
index
e4d2d94
..
47e44c8
100644
(file)
--- a/
src/idl_parser.cpp
+++ b/
src/idl_parser.cpp
@@
-713,6
+713,7
@@
bool Parser::Parse(const char *source) {
while (token_ != kTokenEof) {
if (token_ == kTokenNameSpace) {
Next();
+ name_space_.clear();
for (;;) {
name_space_.push_back(attribute_);
Expect(kTokenIdentifier);