aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast
diff options
context:
space:
mode:
authorRJ Catalano <catalanor0220@gmail.com>2015-12-16 01:00:35 +0800
committerRJ Catalano <catalanor0220@gmail.com>2015-12-16 01:00:35 +0800
commit84241804dc970ce12bb86602afb0505c658df197 (patch)
treea23c70e416bb7b099fa762b02942f32eee18c5dc /libsolidity/ast
parent42c43394040e68c3bb32ed1e73992e096e5d10d2 (diff)
parent574e48b0b51bbf890702a0c0fbae799473945bdb (diff)
downloaddexon-solidity-84241804dc970ce12bb86602afb0505c658df197.tar.gz
dexon-solidity-84241804dc970ce12bb86602afb0505c658df197.tar.zst
dexon-solidity-84241804dc970ce12bb86602afb0505c658df197.zip
updated attempt...still a bit more work to do but here's what's current
Diffstat (limited to 'libsolidity/ast')
-rw-r--r--libsolidity/ast/AST.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libsolidity/ast/AST.h b/libsolidity/ast/AST.h
index 75cb9ab2..b267b6a4 100644
--- a/libsolidity/ast/AST.h
+++ b/libsolidity/ast/AST.h
@@ -1127,9 +1127,10 @@ private:
ASTPointer<Expression> m_rightHandSide;
};
+
/**
- * Tuple or just parenthesized expression.
- * Examples: (1, 2), (x,), (x), ()
+ * Tuple, parenthesized expression, or bracketed expression.
+ * Examples: (1, 2), (x,), (x), (), [1, 2],
* Individual components might be empty shared pointers (as in the second example).
* The respective types in lvalue context are: 2-tuple, 2-tuple (with wildcard), type of x, 0-tuple
* Not in lvalue context: 2-tuple, _1_-tuple, type of x, 0-tuple.