diff --git a/libsolidity/inlineasm/AsmAnalysis.cpp b/libsolidity/inlineasm/AsmAnalysis.cpp index ec5624195..29016ef9f 100644 --- a/libsolidity/inlineasm/AsmAnalysis.cpp +++ b/libsolidity/inlineasm/AsmAnalysis.cpp @@ -60,7 +60,8 @@ bool AsmAnalyzer::operator()(assembly::Literal const& _literal) { m_errors.push_back(make_shared( Error::Type::TypeError, - "String literal too long (" + boost::lexical_cast(_literal.value.size()) + " > 32)" + "String literal too long (" + boost::lexical_cast(_literal.value.size()) + " > 32)", + _literal.location )); return false; } @@ -89,7 +90,7 @@ bool AsmAnalyzer::operator()(assembly::Identifier const& _identifier) m_errors.push_back(make_shared( Error::Type::TypeError, "Function " + _identifier.name + " used without being called.", - _identifier.location + _identifier.location )); success = false; }