aboutsummaryrefslogtreecommitdiffstats
path: root/ExpressionCompiler.cpp
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-03-17 17:48:46 +0800
committerLiana Husikyan <liana@ethdev.com>2015-03-17 21:25:13 +0800
commit5a5577f5a5e8ef590810651e55a9a3192a0bf31c (patch)
tree45dba4eca00137d24289ba26f858a8945cfe3144 /ExpressionCompiler.cpp
parent2986ecbd753ad0e3f76c98280e68f7f9a464518f (diff)
downloaddexon-solidity-5a5577f5a5e8ef590810651e55a9a3192a0bf31c.tar.gz
dexon-solidity-5a5577f5a5e8ef590810651e55a9a3192a0bf31c.tar.zst
dexon-solidity-5a5577f5a5e8ef590810651e55a9a3192a0bf31c.zip
changed the position of 'anonymous' keyword: event <name>() anonymous.
- style changes
Diffstat (limited to 'ExpressionCompiler.cpp')
-rw-r--r--ExpressionCompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ExpressionCompiler.cpp b/ExpressionCompiler.cpp
index 99673edd..bff27e9c 100644
--- a/ExpressionCompiler.cpp
+++ b/ExpressionCompiler.cpp
@@ -547,7 +547,7 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall)
m_context << u256(h256::Arith(dev::sha3(function.getCanonicalSignature(event.getName()))));
++numIndexed;
}
- solAssert(numIndexed <= 4 - (event.IsAnonymous() ? 1 : 0), "Too many indexed arguments.");
+ solAssert(numIndexed <= 4, "Too many indexed arguments.");
// Copy all non-indexed arguments to memory (data)
m_context << u256(0);
for (unsigned arg = 0; arg < arguments.size(); ++arg)