aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-02-21 01:39:00 +0800
committerchriseth <chris@ethereum.org>2018-02-21 07:41:39 +0800
commite2bf5de8a278e04623c7bb34a925372039095ba7 (patch)
treeb0d463b41860016abcb67ce152c726a8be5b9089 /libsolidity/interface
parentf5f00b4ee9e6e9038e3b84986ab3ff78504331fd (diff)
downloaddexon-solidity-e2bf5de8a278e04623c7bb34a925372039095ba7.tar
dexon-solidity-e2bf5de8a278e04623c7bb34a925372039095ba7.tar.gz
dexon-solidity-e2bf5de8a278e04623c7bb34a925372039095ba7.tar.bz2
dexon-solidity-e2bf5de8a278e04623c7bb34a925372039095ba7.tar.lz
dexon-solidity-e2bf5de8a278e04623c7bb34a925372039095ba7.tar.xz
dexon-solidity-e2bf5de8a278e04623c7bb34a925372039095ba7.tar.zst
dexon-solidity-e2bf5de8a278e04623c7bb34a925372039095ba7.zip
Expect end of string at end of top-level block for assembly parser.
Diffstat (limited to 'libsolidity/interface')
-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 1b4bd270..c9e534c7 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_parserResult = assembly::Parser(m_errorReporter, languageToAsmFlavour(m_language)).parse(m_scanner);
+ m_parserResult = assembly::Parser(m_errorReporter, languageToAsmFlavour(m_language)).parse(m_scanner, false);
if (!m_errorReporter.errors().empty())
return false;
solAssert(m_parserResult, "");