diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2016-10-26 21:28:19 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2016-11-01 07:19:32 +0800 |
commit | 5be1996ea5bc73ef37df55cdd28504de5ec357c4 (patch) | |
tree | b6a6c4c33cf441ac7b876caca9946ec906491918 /liblll | |
parent | b24eed1c3e2f4527444b33cf1bba418480934f64 (diff) | |
download | dexon-solidity-5be1996ea5bc73ef37df55cdd28504de5ec357c4.tar dexon-solidity-5be1996ea5bc73ef37df55cdd28504de5ec357c4.tar.gz dexon-solidity-5be1996ea5bc73ef37df55cdd28504de5ec357c4.tar.bz2 dexon-solidity-5be1996ea5bc73ef37df55cdd28504de5ec357c4.tar.lz dexon-solidity-5be1996ea5bc73ef37df55cdd28504de5ec357c4.tar.xz dexon-solidity-5be1996ea5bc73ef37df55cdd28504de5ec357c4.tar.zst dexon-solidity-5be1996ea5bc73ef37df55cdd28504de5ec357c4.zip |
LLL: update exception message
Diffstat (limited to 'liblll')
-rw-r--r-- | liblll/Compiler.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/liblll/Compiler.cpp b/liblll/Compiler.cpp index 68499106..4008022f 100644 --- a/liblll/Compiler.cpp +++ b/liblll/Compiler.cpp @@ -34,8 +34,7 @@ bytes dev::eth::compileLLL(string const& _src, bool _opt, vector<string>* _error { CompilerState cs; cs.populateStandard(); - auto f = CodeFragment::compile(_src, cs); - bytes ret = f.assembly(cs).optimise(_opt).assemble().bytecode; + bytes ret = CodeFragment::compile(_src, cs).assembly(cs).optimise(_opt).assemble().bytecode; for (auto i: cs.treesToKill) killBigints(i); return ret; @@ -59,7 +58,7 @@ bytes dev::eth::compileLLL(string const& _src, bool _opt, vector<string>* _error catch (...) { if (_errors) - _errors->push_back("Internal parse exception."); + _errors->push_back("Internal compiler exception."); } return bytes(); } @@ -93,7 +92,7 @@ std::string dev::eth::compileLLLToAsm(std::string const& _src, bool _opt, std::v catch (...) { if (_errors) - _errors->push_back("Internal parse exception."); + _errors->push_back("Internal compiler exception."); } return string(); } |