diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-06-22 07:42:26 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-06-23 06:00:22 +0800 |
commit | 1ffe286a81b9bad005cfefa3fc8672aecb0ec0f8 (patch) | |
tree | 13ec5a5c0d87dca51d2b90c7995ce67e700a1329 | |
parent | 581aace50167ef36240f0ce37c56bd90e70a6163 (diff) | |
download | dexon-solidity-1ffe286a81b9bad005cfefa3fc8672aecb0ec0f8.tar.gz dexon-solidity-1ffe286a81b9bad005cfefa3fc8672aecb0ec0f8.tar.zst dexon-solidity-1ffe286a81b9bad005cfefa3fc8672aecb0ec0f8.zip |
LLL: report correct name if a symbol was not found
-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 ff173e91..eeb64270 100644 --- a/liblll/CodeFragment.cpp +++ b/liblll/CodeFragment.cpp @@ -177,7 +177,7 @@ void CodeFragment::constructOperation(sp::utree const& _t, CompilerState& _s) error<InvalidName>("Empty variable name not allowed"); auto it = _s.vars.find(n); if (it == _s.vars.end()) - error<InvalidName>(std::string("Symbol not found: ") + s); + error<InvalidName>(std::string("Symbol not found: ") + n); return it->second.first; }; |