LLL: report back unsupported keywords

This commit is contained in:
Alex Beregszaszi
2016-10-31 23:19:32 +00:00
parent b269202b73
commit 9b65a79cb3
+1 -1
View File
@@ -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<InvalidOperation>();
error<InvalidOperation>("Unsupported keyword: '" + us + "'");
}
}