diff options
author | chriseth <chris@ethereum.org> | 2018-07-11 04:43:02 +0800 |
---|---|---|
committer | Erik Kundt <bitshift@posteo.org> | 2018-07-18 00:07:36 +0800 |
commit | dfd2fee91d2d6158dc11146ddc1773ac5eb12c6a (patch) | |
tree | e60abadf72ff9ed8778f98384948a81700247270 /libsolidity/analysis/SyntaxChecker.h | |
parent | 75bba5c9f02df281c667b77db01594c5c7eb823d (diff) | |
download | dexon-solidity-dfd2fee91d2d6158dc11146ddc1773ac5eb12c6a.tar.gz dexon-solidity-dfd2fee91d2d6158dc11146ddc1773ac5eb12c6a.tar.zst dexon-solidity-dfd2fee91d2d6158dc11146ddc1773ac5eb12c6a.zip |
Suggests external for fallback and interface functions.
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 5460e3be..28a0f66e 100644 --- a/libsolidity/analysis/SyntaxChecker.h +++ b/libsolidity/analysis/SyntaxChecker.h @@ -66,6 +66,7 @@ private: virtual bool visit(PlaceholderStatement const& _placeholderStatement) override; + virtual bool visit(ContractDefinition const& _contract) override; virtual bool visit(FunctionDefinition const& _function) override; virtual bool visit(FunctionTypeName const& _node) override; @@ -82,6 +83,7 @@ private: bool m_versionPragmaFound = false; int m_inLoopDepth = 0; + bool m_isInterface = false; SourceUnit const* m_sourceUnit = nullptr; }; |