mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-04 12:43:24 +00:00
Fixed namespace declaration not being cleared between files.
Change-Id: Ie9fedf894d82a403d0b6b4848d221d6bbee58984 Tested: on OS X.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user