aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-11-13 06:44:06 +0800
committerchriseth <c@ethdev.com>2015-11-13 06:44:06 +0800
commit321b1ed22102f0d373af4250bb42aea569aafcdd (patch)
treee7143f2e5b97022c48a38776120c7a37ec44fc98 /libsolidity/ast
parent94ea61cbb5fb8a1007438c1bfea3fc7e253f1ea6 (diff)
parent34829ae7648066341dd7905e43c478ead9fbca62 (diff)
downloaddexon-solidity-321b1ed22102f0d373af4250bb42aea569aafcdd.tar.gz
dexon-solidity-321b1ed22102f0d373af4250bb42aea569aafcdd.tar.zst
dexon-solidity-321b1ed22102f0d373af4250bb42aea569aafcdd.zip
Merge pull request #209 from chriseth/formal
Why3 translation: Fix problems with statement blocks.
Diffstat (limited to 'libsolidity/ast')
-rw-r--r--libsolidity/ast/AST.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/ast/AST.h b/libsolidity/ast/AST.h
index 1a204dca..69186cb7 100644
--- a/libsolidity/ast/AST.h
+++ b/libsolidity/ast/AST.h
@@ -818,6 +818,8 @@ public:
virtual void accept(ASTVisitor& _visitor) override;
virtual void accept(ASTConstVisitor& _visitor) const override;
+ std::vector<ASTPointer<Statement>> const& statements() const { return m_statements; }
+
private:
std::vector<ASTPointer<Statement>> m_statements;
};