From 9b65a79cb35860f4de6c653ded0e6ab58cf6d57e Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Wed, 26 Oct 2016 13:48:13 +0100 Subject: [PATCH] LLL: report back unsupported keywords --- liblll/CodeFragment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liblll/CodeFragment.cpp b/liblll/CodeFragment.cpp index 0f8f26061..0ba072a4c 100644 --- a/liblll/CodeFragment.cpp +++ b/liblll/CodeFragment.cpp @@ -587,7 +587,7 @@ void CodeFragment::constructOperation(sp::utree const& _t, CompilerState& _s) else if (us.find_first_of("1234567890") != 0 && us.find_first_not_of("QWERTYUIOPASDFGHJKLZXCVBNM1234567890_") == string::npos) m_asm.append((u256)varAddress(s)); else - error(); + error("Unsupported keyword: '" + us + "'"); } }