aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/Assembly.cpp
diff options
context:
space:
mode:
authorChristian Parpart <christian@ethereum.org>2018-11-28 23:13:36 +0800
committerChristian Parpart <christian@ethereum.org>2018-11-29 19:45:27 +0800
commit22eff22492b2d569fe56b59763ddc1cd1cf9ccf4 (patch)
treeea6dc0a75a3c1c7d189ec9bb899884cc4f3eefd6 /test/libsolidity/Assembly.cpp
parent6060a3682c077d7b329ec9171abdacbf1b383ec7 (diff)
downloaddexon-solidity-22eff22492b2d569fe56b59763ddc1cd1cf9ccf4.tar.gz
dexon-solidity-22eff22492b2d569fe56b59763ddc1cd1cf9ccf4.tar.zst
dexon-solidity-22eff22492b2d569fe56b59763ddc1cd1cf9ccf4.zip
liblangutil: extends CharStream to know about the respective (file-)name (and adapt codebase to it)
Diffstat (limited to 'test/libsolidity/Assembly.cpp')
-rw-r--r--test/libsolidity/Assembly.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/Assembly.cpp b/test/libsolidity/Assembly.cpp
index 926e29fe..620f9661 100644
--- a/test/libsolidity/Assembly.cpp
+++ b/test/libsolidity/Assembly.cpp
@@ -58,7 +58,7 @@ eth::AssemblyItems compileContract(string const& _sourceCode)
ErrorReporter errorReporter(errors);
Parser parser(errorReporter);
ASTPointer<SourceUnit> sourceUnit;
- BOOST_REQUIRE_NO_THROW(sourceUnit = parser.parse(make_shared<Scanner>(CharStream(_sourceCode))));
+ BOOST_REQUIRE_NO_THROW(sourceUnit = parser.parse(make_shared<Scanner>(CharStream(_sourceCode, ""))));
BOOST_CHECK(!!sourceUnit);
map<ASTNode const*, shared_ptr<DeclarationContainer>> scopes;