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