aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast/AST.h
diff options
context:
space:
mode:
authorRJ Catalano <catalanor0220@gmail.com>2015-12-16 01:16:54 +0800
committerRJ Catalano <catalanor0220@gmail.com>2015-12-16 01:16:54 +0800
commit767103be57d004d94a3711de5c3c0a119f3bc722 (patch)
tree0c1caa0111b2033421660073ce0e462b58870b3e /libsolidity/ast/AST.h
parent84241804dc970ce12bb86602afb0505c658df197 (diff)
downloaddexon-solidity-767103be57d004d94a3711de5c3c0a119f3bc722.tar.gz
dexon-solidity-767103be57d004d94a3711de5c3c0a119f3bc722.tar.zst
dexon-solidity-767103be57d004d94a3711de5c3c0a119f3bc722.zip
changing Tuple Constructor
Diffstat (limited to 'libsolidity/ast/AST.h')
-rw-r--r--libsolidity/ast/AST.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libsolidity/ast/AST.h b/libsolidity/ast/AST.h
index b267b6a4..55274f0d 100644
--- a/libsolidity/ast/AST.h
+++ b/libsolidity/ast/AST.h
@@ -1140,9 +1140,12 @@ class TupleExpression: public Expression
public:
TupleExpression(
SourceLocation const& _location,
- std::vector<ASTPointer<Expression>> const& _components
+ std::vector<ASTPointer<Expression>> const& _components,
+ bool _isArray
):
- Expression(_location), m_components(_components) {}
+ Expression(_location),
+ m_components(_components),
+ m_isArray(_isArray) {}
virtual void accept(ASTVisitor& _visitor) override;
virtual void accept(ASTConstVisitor& _visitor) const override;