commit | 2208de0676c579e28e9ccaf3c1757646c0c083de | [log] [tgz] |
---|---|---|
author | Wouter van Oortmerssen <wvo@google.com> | Wed Jul 09 14:21:11 2014 -0700 |
committer | Wouter van Oortmerssen <wvo@google.com> | Wed Jul 09 17:13:03 2014 -0700 |
tree | 01fe97d985eb77945205f70e76a0cf4993672324 | |
parent | 75349ae8c39d01e7e2b5779a18ace750c08e2fd9 [diff] [blame] |
Fixed namespace declaration not being cleared between files. Change-Id: Ie9fedf894d82a403d0b6b4848d221d6bbee58984 Tested: on OS X.
diff --git a/src/idl_parser.cpp b/src/idl_parser.cpp index e4d2d94..47e44c8 100644 --- a/src/idl_parser.cpp +++ b/src/idl_parser.cpp
@@ -713,6 +713,7 @@ while (token_ != kTokenEof) { if (token_ == kTokenNameSpace) { Next(); + name_space_.clear(); for (;;) { name_space_.push_back(attribute_); Expect(kTokenIdentifier);