Commit 51b96855 by alokp@chromium.org

Fixed compile errors on linux.

git-svn-id: https://angleproject.googlecode.com/svn/trunk@1099 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 484730bc
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include "DirectiveParser.h" #include "DirectiveParser.h"
#include <cassert> #include <cassert>
#include <cstdlib>
#include <sstream> #include <sstream>
#include "Diagnostics.h" #include "Diagnostics.h"
...@@ -218,7 +219,7 @@ void DirectiveParser::parseUndef(Token* token) ...@@ -218,7 +219,7 @@ void DirectiveParser::parseUndef(Token* token)
return; return;
} }
MacroSet::const_iterator iter = mMacroSet->find(token->value); MacroSet::iterator iter = mMacroSet->find(token->value);
if (iter != mMacroSet->end()) if (iter != mMacroSet->end())
mMacroSet->erase(iter); mMacroSet->erase(iter);
......
...@@ -35,4 +35,4 @@ struct Macro ...@@ -35,4 +35,4 @@ struct Macro
typedef std::map<std::string, Macro> MacroSet; typedef std::map<std::string, Macro> MacroSet;
} // namespace pp } // namespace pp
#endif COMPILER_PREPROCESSOR_MACRO_H_ #endif // COMPILER_PREPROCESSOR_MACRO_H_
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