diff options
author | chriseth <c@ethdev.com> | 2015-02-10 17:54:28 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-02-10 17:54:28 +0800 |
commit | bb6f181d7dacfd1d7a070483500937004bea995c (patch) | |
tree | 1e5f2fd0cfc36afdc3ba2efc3d340d6e3f81cd80 /ASTJsonConverter.cpp | |
parent | bbf695b0e1b60526b9bf6beaeabe8b031c02bf5d (diff) | |
parent | 82c5fb32458309866033e12b8930a450753bc0bd (diff) | |
download | dexon-solidity-bb6f181d7dacfd1d7a070483500937004bea995c.tar.gz dexon-solidity-bb6f181d7dacfd1d7a070483500937004bea995c.tar.zst dexon-solidity-bb6f181d7dacfd1d7a070483500937004bea995c.zip |
Merge pull request #986 from LefterisJP/sol_StyleFix
Solidity enum style fix
Diffstat (limited to 'ASTJsonConverter.cpp')
-rw-r--r-- | ASTJsonConverter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ASTJsonConverter.cpp b/ASTJsonConverter.cpp index d9332990..a216a59a 100644 --- a/ASTJsonConverter.cpp +++ b/ASTJsonConverter.cpp @@ -118,7 +118,7 @@ bool ASTJsonConverter::visit(FunctionDefinition const& _node) bool ASTJsonConverter::visit(VariableDeclaration const& _node) { - bool isLocalVariable = (_node.getLValueType() == VariableDeclaration::LValueType::LOCAL); + bool isLocalVariable = (_node.getLValueType() == VariableDeclaration::LValueType::Local); addJsonNode("VariableDeclaration", { make_pair("name", _node.getName()), make_pair("local", boost::lexical_cast<std::string>(isLocalVariable))}, |