aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/parsing
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-02-08 06:11:50 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-03-18 00:27:04 +0800
commit6d4628ace4082a4318dc61fff49e8d193eea36e9 (patch)
tree285b3de14bf249fd5955682bbe4dcf03eab4e18c /libsolidity/parsing
parentc37397c17871591bb897ca6f390a315f2ad0b030 (diff)
downloaddexon-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.cpp2
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
);
}