aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/AssemblyStack.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-12-01 06:45:31 +0800
committerGitHub <noreply@github.com>2018-12-01 06:45:31 +0800
commitaaeb74f59283486ee95d71f896cf2dd6cbe503f7 (patch)
tree062fbcc8d84ce2bfa5bb0bb2ef200ba402bb3e8b /libsolidity/interface/AssemblyStack.cpp
parentcc00d8172b6cd7f9fc032e4a21857455ace2f290 (diff)
parent757623e381aba24b81a2365cf19037d3d96bf945 (diff)
downloaddexon-solidity-aaeb74f59283486ee95d71f896cf2dd6cbe503f7.tar.gz
dexon-solidity-aaeb74f59283486ee95d71f896cf2dd6cbe503f7.tar.zst
dexon-solidity-aaeb74f59283486ee95d71f896cf2dd6cbe503f7.zip
Merge pull request #5537 from ethereum/cp-SourceLocation-related-refactoring
[1/3] SourceLocation related refactoring.
Diffstat (limited to 'libsolidity/interface/AssemblyStack.cpp')
-rw-r--r--libsolidity/interface/AssemblyStack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/interface/AssemblyStack.cpp b/libsolidity/interface/AssemblyStack.cpp
index 24e190b3..66ba42ee 100644
--- a/libsolidity/interface/AssemblyStack.cpp
+++ b/libsolidity/interface/AssemblyStack.cpp
@@ -69,7 +69,7 @@ bool AssemblyStack::parseAndAnalyze(std::string const& _sourceName, std::string
{
m_errors.clear();
m_analysisSuccessful = false;
- m_scanner = make_shared<Scanner>(CharStream(_source), _sourceName);
+ m_scanner = make_shared<Scanner>(CharStream(_source, _sourceName));
m_parserResult = yul::ObjectParser(m_errorReporter, languageToAsmFlavour(m_language)).parse(m_scanner, false);
if (!m_errorReporter.errors().empty())
return false;