diff options
author | chriseth <c@ethdev.com> | 2015-10-10 01:35:41 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-10-10 01:35:41 +0800 |
commit | a5d12b876180088904a026c472da23201a35d59c (patch) | |
tree | 277c5e2da4bc1ea04f10b3369f96c5f087fb01db /libsolidity/AST.h | |
parent | c54a033bf036d16651fb992689adfcffb2f3a951 (diff) | |
download | dexon-solidity-a5d12b876180088904a026c472da23201a35d59c.tar.gz dexon-solidity-a5d12b876180088904a026c472da23201a35d59c.tar.zst dexon-solidity-a5d12b876180088904a026c472da23201a35d59c.zip |
Introduced tuple type and added multi variable declarations to type
checker.
Diffstat (limited to 'libsolidity/AST.h')
-rw-r--r-- | libsolidity/AST.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libsolidity/AST.h b/libsolidity/AST.h index 354beb7c..5c4c889d 100644 --- a/libsolidity/AST.h +++ b/libsolidity/AST.h @@ -558,7 +558,9 @@ protected: private: ASTPointer<TypeName> m_typeName; ///< can be empty ("var") - ASTPointer<Expression> m_value; ///< the assigned value, can be missing + /// Initially assigned value, can be missing. For local variables, this is stored inside + /// VariableDeclarationStatement and not here. + ASTPointer<Expression> m_value; bool m_isStateVariable; ///< Whether or not this is a contract state variable bool m_isIndexed; ///< Whether this is an indexed variable (used by events). bool m_isConstant; ///< Whether the variable is a compile-time constant. |