forked from mirror/openmw-tes3mp
fixed another case issue in remote member access
This commit is contained in:
parent
c03bd8ebb6
commit
87b51e47a9
2 changed files with 3 additions and 2 deletions
|
@ -9,7 +9,6 @@
|
||||||
#include "generator.hpp"
|
#include "generator.hpp"
|
||||||
#include "errorhandler.hpp"
|
#include "errorhandler.hpp"
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
namespace Compiler
|
namespace Compiler
|
||||||
{
|
{
|
||||||
bool ControlParser::parseIfBody (int keyword, const TokenLoc& loc, Scanner& scanner)
|
bool ControlParser::parseIfBody (int keyword, const TokenLoc& loc, Scanner& scanner)
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
|
|
||||||
|
#include <components/misc/stringops.hpp>
|
||||||
|
|
||||||
namespace Compiler
|
namespace Compiler
|
||||||
{
|
{
|
||||||
const std::vector<std::string>& Locals::get (char type) const
|
const std::vector<std::string>& Locals::get (char type) const
|
||||||
|
@ -97,7 +99,7 @@ namespace Compiler
|
||||||
|
|
||||||
void Locals::declare (char type, const std::string& name)
|
void Locals::declare (char type, const std::string& name)
|
||||||
{
|
{
|
||||||
get (type).push_back (name);
|
get (type).push_back (Misc::StringUtils::lowerCase (name));
|
||||||
}
|
}
|
||||||
|
|
||||||
void Locals::clear()
|
void Locals::clear()
|
||||||
|
|
Loading…
Reference in a new issue