aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-02-09 09:37:53 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-02-10 21:29:17 +0800
commitf8461e9e31b96e6656b8dcabd73de2e5176e6fe3 (patch)
tree585f8d6d45b6085c807d69d55a09746898f4b5de /libsolidity/ast
parentaf8e31b023723bfc6baa224931ef6570cd8d9a32 (diff)
downloaddexon-solidity-f8461e9e31b96e6656b8dcabd73de2e5176e6fe3.tar.gz
dexon-solidity-f8461e9e31b96e6656b8dcabd73de2e5176e6fe3.tar.zst
dexon-solidity-f8461e9e31b96e6656b8dcabd73de2e5176e6fe3.zip
Implement assert as a global function
Diffstat (limited to 'libsolidity/ast')
-rw-r--r--libsolidity/ast/Types.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libsolidity/ast/Types.h b/libsolidity/ast/Types.h
index e280b32c..83d840e0 100644
--- a/libsolidity/ast/Types.h
+++ b/libsolidity/ast/Types.h
@@ -819,8 +819,8 @@ public:
{
Internal, ///< stack-call using plain JUMP
External, ///< external call using CALL
- CallCode, ///< extercnal call using CALLCODE, i.e. not exchanging the storage
- DelegateCall, ///< extercnal call using DELEGATECALL, i.e. not exchanging the storage
+ CallCode, ///< external call using CALLCODE, i.e. not exchanging the storage
+ DelegateCall, ///< external call using DELEGATECALL, i.e. not exchanging the storage
Bare, ///< CALL without function hash
BareCallCode, ///< CALLCODE without function hash
BareDelegateCall, ///< DELEGATECALL without function hash
@@ -844,7 +844,8 @@ public:
MulMod, ///< MULMOD
ArrayPush, ///< .push() to a dynamically sized array in storage
ByteArrayPush, ///< .push() to a dynamically sized byte array in storage
- ObjectCreation ///< array creation using new
+ ObjectCreation, ///< array creation using new
+ Assert ///< assert()
};
virtual Category category() const override { return Category::Function; }