aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-10-26 20:48:13 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2016-11-01 07:19:32 +0800
commit9b65a79cb35860f4de6c653ded0e6ab58cf6d57e (patch)
tree814bd6e4a50e27f1d7ac5e084d74b4582568f068
parentb269202b73dc6a22c0f6adc849d8fc063119e346 (diff)
downloaddexon-solidity-9b65a79cb35860f4de6c653ded0e6ab58cf6d57e.tar
dexon-solidity-9b65a79cb35860f4de6c653ded0e6ab58cf6d57e.tar.gz
dexon-solidity-9b65a79cb35860f4de6c653ded0e6ab58cf6d57e.tar.bz2
dexon-solidity-9b65a79cb35860f4de6c653ded0e6ab58cf6d57e.tar.lz
dexon-solidity-9b65a79cb35860f4de6c653ded0e6ab58cf6d57e.tar.xz
dexon-solidity-9b65a79cb35860f4de6c653ded0e6ab58cf6d57e.tar.zst
dexon-solidity-9b65a79cb35860f4de6c653ded0e6ab58cf6d57e.zip
LLL: report back unsupported keywords
-rw-r--r--liblll/CodeFragment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblll/CodeFragment.cpp b/liblll/CodeFragment.cpp
index 0f8f2606..0ba072a4 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<InvalidOperation>();
+ error<InvalidOperation>("Unsupported keyword: '" + us + "'");
}
}