diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-10-02 20:17:52 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-10-03 04:19:36 +0800 |
commit | 26f3ea8cf7fba8d8222ab1889cfbf89046371d10 (patch) | |
tree | c19c2cc8cf9db681ba84f4789fa401d43668b848 /lllc/main.cpp | |
parent | 91b20b4bd247ca5163fc562d54ae639eda2532ef (diff) | |
download | dexon-solidity-26f3ea8cf7fba8d8222ab1889cfbf89046371d10.tar.gz dexon-solidity-26f3ea8cf7fba8d8222ab1889cfbf89046371d10.tar.zst dexon-solidity-26f3ea8cf7fba8d8222ab1889cfbf89046371d10.zip |
LLL: change (include) to use a callback
Diffstat (limited to 'lllc/main.cpp')
-rw-r--r-- | lllc/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lllc/main.cpp b/lllc/main.cpp index 06a0fc81..912ce16a 100644 --- a/lllc/main.cpp +++ b/lllc/main.cpp @@ -138,7 +138,7 @@ int main(int argc, char** argv) } else if (mode == Binary || mode == Hex) { - auto bs = compileLLL(src, optimise ? true : false, &errors); + auto bs = compileLLL(src, optimise ? true : false, &errors, contentsString); if (mode == Hex) cout << toHex(bs) << endl; else if (mode == Binary) @@ -147,7 +147,7 @@ int main(int argc, char** argv) else if (mode == ParseTree) cout << parseLLL(src) << endl; else if (mode == Assembly) - cout << compileLLLToAsm(src, optimise ? true : false, &errors) << endl; + cout << compileLLLToAsm(src, optimise ? true : false, &errors, contentsString) << endl; for (auto const& i: errors) cerr << i << endl; if ( errors.size() ) |