diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-08 06:11:50 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-03-18 00:27:04 +0800 |
commit | 6d4628ace4082a4318dc61fff49e8d193eea36e9 (patch) | |
tree | 285b3de14bf249fd5955682bbe4dcf03eab4e18c /libsolidity/parsing | |
parent | c37397c17871591bb897ca6f390a315f2ad0b030 (diff) | |
download | dexon-solidity-6d4628ace4082a4318dc61fff49e8d193eea36e9.tar.gz dexon-solidity-6d4628ace4082a4318dc61fff49e8d193eea36e9.tar.zst dexon-solidity-6d4628ace4082a4318dc61fff49e8d193eea36e9.zip |
Add ContractKind to ContractDefinition
Diffstat (limited to 'libsolidity/parsing')
-rw-r--r-- | libsolidity/parsing/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/parsing/Parser.cpp b/libsolidity/parsing/Parser.cpp index e26e2908..acd87d55 100644 --- a/libsolidity/parsing/Parser.cpp +++ b/libsolidity/parsing/Parser.cpp @@ -252,7 +252,7 @@ ASTPointer<ContractDefinition> Parser::parseContractDefinition(bool _isLibrary) docString, baseContracts, subNodes, - _isLibrary + _isLibrary ? ContractDefinition::ContractKind::Library : ContractDefinition::ContractKind::Contract ); } |