aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/analysis/SyntaxChecker.h
diff options
context:
space:
mode:
authorChristian Parpart <christian@ethereum.org>2018-07-05 18:31:46 +0800
committerchriseth <chris@ethereum.org>2018-07-12 19:26:52 +0800
commitcc585138bc08ff421a026d08f07020b284d946ce (patch)
tree583558a78f984faa124e6afd557ec19e9b775fe7 /libsolidity/analysis/SyntaxChecker.h
parentfa8102880f87c5a2806d59f959fd3e8a62dd4dc9 (diff)
downloaddexon-solidity-cc585138bc08ff421a026d08f07020b284d946ce.tar.gz
dexon-solidity-cc585138bc08ff421a026d08f07020b284d946ce.tar.zst
dexon-solidity-cc585138bc08ff421a026d08f07020b284d946ce.zip
Generates a syntax error when declaring a variable declaration's LHS has no named components
Diffstat (limited to 'libsolidity/analysis/SyntaxChecker.h')
-rw-r--r--libsolidity/analysis/SyntaxChecker.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/analysis/SyntaxChecker.h b/libsolidity/analysis/SyntaxChecker.h
index 8ee3df37..5460e3be 100644
--- a/libsolidity/analysis/SyntaxChecker.h
+++ b/libsolidity/analysis/SyntaxChecker.h
@@ -69,6 +69,8 @@ private:
virtual bool visit(FunctionDefinition const& _function) override;
virtual bool visit(FunctionTypeName const& _node) override;
+ virtual bool visit(VariableDeclarationStatement const& _statement) override;
+
virtual bool visit(StructDefinition const& _struct) override;
ErrorReporter& m_errorReporter;