diff options
author | Christian Parpart <christian@ethereum.org> | 2018-11-28 23:13:36 +0800 |
---|---|---|
committer | Christian Parpart <christian@ethereum.org> | 2018-11-29 19:45:27 +0800 |
commit | 22eff22492b2d569fe56b59763ddc1cd1cf9ccf4 (patch) | |
tree | ea6dc0a75a3c1c7d189ec9bb899884cc4f3eefd6 /test/libyul/Parser.cpp | |
parent | 6060a3682c077d7b329ec9171abdacbf1b383ec7 (diff) | |
download | dexon-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/libyul/Parser.cpp')
-rw-r--r-- | test/libyul/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libyul/Parser.cpp b/test/libyul/Parser.cpp index 6f946362..caaf2719 100644 --- a/test/libyul/Parser.cpp +++ b/test/libyul/Parser.cpp @@ -51,7 +51,7 @@ bool parse(string const& _source, ErrorReporter& errorReporter) { try { - auto scanner = make_shared<Scanner>(CharStream(_source)); + auto scanner = make_shared<Scanner>(CharStream(_source, "")); auto parserResult = yul::Parser(errorReporter, yul::AsmFlavour::Yul).parse(scanner, false); if (parserResult) { |