diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2016-10-26 20:48:13 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2016-11-01 07:19:32 +0800 |
commit | 9b65a79cb35860f4de6c653ded0e6ab58cf6d57e (patch) | |
tree | 814bd6e4a50e27f1d7ac5e084d74b4582568f068 /liblll | |
parent | b269202b73dc6a22c0f6adc849d8fc063119e346 (diff) | |
download | dexon-solidity-9b65a79cb35860f4de6c653ded0e6ab58cf6d57e.tar.gz dexon-solidity-9b65a79cb35860f4de6c653ded0e6ab58cf6d57e.tar.zst dexon-solidity-9b65a79cb35860f4de6c653ded0e6ab58cf6d57e.zip |
LLL: report back unsupported keywords
Diffstat (limited to 'liblll')
-rw-r--r-- | liblll/CodeFragment.cpp | 2 |
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 + "'"); } } |