Fixed code issues found with unity build. Missing include guards, duplicated functions, ...

This commit is contained in:
scrawl 2014-03-16 23:38:51 +01:00
parent 49ef976b3d
commit c8c0e5de38
33 changed files with 154 additions and 228 deletions

View file

@ -18,7 +18,7 @@ bool Compiler::DeclarationParser::parseName (const std::string& name, const Toke
{
if (mState==State_Name)
{
std::string name2 = Misc::StringUtils::lowerCase (name);
std::string name2 = ::Misc::StringUtils::lowerCase (name);
char type = mLocals.getType (name2);
@ -80,4 +80,4 @@ bool Compiler::DeclarationParser::parseSpecial (int code, const TokenLoc& loc, S
void Compiler::DeclarationParser::reset()
{
mState = State_Begin;
}
}