aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/AST.h
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-10-10 01:35:41 +0800
committerchriseth <c@ethdev.com>2015-10-10 01:35:41 +0800
commita5d12b876180088904a026c472da23201a35d59c (patch)
tree277c5e2da4bc1ea04f10b3369f96c5f087fb01db /libsolidity/AST.h
parentc54a033bf036d16651fb992689adfcffb2f3a951 (diff)
downloaddexon-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.h4
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.