diff options
author | Jimmy Vogel <jim.e.vogel@gmail.com> | 2018-01-23 05:32:47 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-02-13 06:37:26 +0800 |
commit | dc5ad899d0ff08aba7022a765e8ec363fa6c1f7e (patch) | |
tree | 3beb33290f36e670817b9119ddb68e78b7cf6621 /libsolidity/analysis/SyntaxChecker.h | |
parent | 8795036919f7a9de4a0ba7d7333a955d2edb78fe (diff) | |
download | dexon-solidity-dc5ad899d0ff08aba7022a765e8ec363fa6c1f7e.tar dexon-solidity-dc5ad899d0ff08aba7022a765e8ec363fa6c1f7e.tar.gz dexon-solidity-dc5ad899d0ff08aba7022a765e8ec363fa6c1f7e.tar.bz2 dexon-solidity-dc5ad899d0ff08aba7022a765e8ec363fa6c1f7e.tar.lz dexon-solidity-dc5ad899d0ff08aba7022a765e8ec363fa6c1f7e.tar.xz dexon-solidity-dc5ad899d0ff08aba7022a765e8ec363fa6c1f7e.tar.zst dexon-solidity-dc5ad899d0ff08aba7022a765e8ec363fa6c1f7e.zip |
Deprecate the var keyword (and mark it an error as experimental 0.5.0 feature)
Diffstat (limited to 'libsolidity/analysis/SyntaxChecker.h')
-rw-r--r-- | libsolidity/analysis/SyntaxChecker.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/analysis/SyntaxChecker.h b/libsolidity/analysis/SyntaxChecker.h index d5d72f14..871bf0a9 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(VariableDeclaration const& _declaration) override; + ErrorReporter& m_errorReporter; /// Flag that indicates whether a function modifier actually contains '_'. |