aboutsummaryrefslogtreecommitdiffstats
path: root/liblll/Compiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'liblll/Compiler.cpp')
-rw-r--r--liblll/Compiler.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/liblll/Compiler.cpp b/liblll/Compiler.cpp
index 4008022f..0cec7bc8 100644
--- a/liblll/Compiler.cpp
+++ b/liblll/Compiler.cpp
@@ -99,14 +99,15 @@ std::string dev::eth::compileLLLToAsm(std::string const& _src, bool _opt, std::v
string dev::eth::parseLLL(string const& _src)
{
- sp::utree o;
try
{
+ sp::utree o;
parseTreeLLL(_src, o);
+ ostringstream ret;
+ debugOutAST(ret, o);
+ killBigints(o);
+ return ret.str();
}
catch (...) {}
- ostringstream ret;
- debugOutAST(ret, o);
- killBigints(o);
- return ret.str();
+ return string();
}