Fixed namespace declaration not being cleared between files.

Change-Id: Ie9fedf894d82a403d0b6b4848d221d6bbee58984
Tested: on OS X.
parent 75349ae8
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment