aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-03-17 07:59:36 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-03-17 07:59:36 +0800
commite0ff70778a3de88e25cc4c4f879799d6b73a4a61 (patch)
treed8e609aedf87c4063c2f6ffc488b75881069e962 /libsolidity
parent58334cf4ac1cf61e5296b82ada48a2eb690ed369 (diff)
downloaddexon-solidity-e0ff70778a3de88e25cc4c4f879799d6b73a4a61.tar
dexon-solidity-e0ff70778a3de88e25cc4c4f879799d6b73a4a61.tar.gz
dexon-solidity-e0ff70778a3de88e25cc4c4f879799d6b73a4a61.tar.bz2
dexon-solidity-e0ff70778a3de88e25cc4c4f879799d6b73a4a61.tar.lz
dexon-solidity-e0ff70778a3de88e25cc4c4f879799d6b73a4a61.tar.xz
dexon-solidity-e0ff70778a3de88e25cc4c4f879799d6b73a4a61.tar.zst
dexon-solidity-e0ff70778a3de88e25cc4c4f879799d6b73a4a61.zip
Rename ErrorMesage to ErrorMessage
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/interface/CompilerStack.cpp4
-rw-r--r--libsolidity/interface/CompilerStack.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/interface/CompilerStack.cpp b/libsolidity/interface/CompilerStack.cpp
index 6b0024ad..effc8309 100644
--- a/libsolidity/interface/CompilerStack.cpp
+++ b/libsolidity/interface/CompilerStack.cpp
@@ -527,13 +527,13 @@ StringMap CompilerStack::loadMissingSources(SourceUnit const& _ast, std::string
result = m_readFile(importPath);
if (result.success)
- newSources[importPath] = result.contentsOrErrorMesage;
+ newSources[importPath] = result.contentsOrErrorMessage;
else
{
auto err = make_shared<Error>(Error::Type::ParserError);
*err <<
errinfo_sourceLocation(import->location()) <<
- errinfo_comment("Source \"" + importPath + "\" not found: " + result.contentsOrErrorMesage);
+ errinfo_comment("Source \"" + importPath + "\" not found: " + result.contentsOrErrorMessage);
m_errors.push_back(std::move(err));
continue;
}
diff --git a/libsolidity/interface/CompilerStack.h b/libsolidity/interface/CompilerStack.h
index eddfea68..65850683 100644
--- a/libsolidity/interface/CompilerStack.h
+++ b/libsolidity/interface/CompilerStack.h
@@ -80,7 +80,7 @@ public:
struct ReadFileResult
{
bool success;
- std::string contentsOrErrorMesage;
+ std::string contentsOrErrorMessage;
};
/// File reading callback.