Fixed namespace declaration not being cleared between files.

Change-Id: Ie9fedf894d82a403d0b6b4848d221d6bbee58984
Tested: on OS X.
This commit is contained in:
Wouter van Oortmerssen
2014-07-09 14:21:11 -07:00
parent 75349ae8c3
commit 2208de0676

View File

@@ -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);