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/libsolidity/SemVerMatcher.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/libsolidity/SemVerMatcher.cpp')
-rw-r--r-- | test/libsolidity/SemVerMatcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SemVerMatcher.cpp b/test/libsolidity/SemVerMatcher.cpp index 2e147847..2980acd1 100644 --- a/test/libsolidity/SemVerMatcher.cpp +++ b/test/libsolidity/SemVerMatcher.cpp @@ -41,7 +41,7 @@ BOOST_AUTO_TEST_SUITE(SemVerMatcher) SemVerMatchExpression parseExpression(string const& _input) { - Scanner scanner{CharStream(_input)}; + Scanner scanner{CharStream(_input, "")}; vector<string> literals; vector<Token> tokens; while (scanner.currentToken() != Token::EOS) |