aboutsummaryrefslogtreecommitdiffstats
path: root/ASTJsonConverter.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-09 21:35:31 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-09 21:35:31 +0800
commit148a7cb3e1bcd4648824285e4f6dc9800d3f6de3 (patch)
tree12eae61e00be2356bd278ae127ab29f050dbb509 /ASTJsonConverter.cpp
parent7c0ae1a82f28f3a3679ee7160d0080eac9ca5b9c (diff)
downloaddexon-solidity-148a7cb3e1bcd4648824285e4f6dc9800d3f6de3.tar.gz
dexon-solidity-148a7cb3e1bcd4648824285e4f6dc9800d3f6de3.tar.zst
dexon-solidity-148a7cb3e1bcd4648824285e4f6dc9800d3f6de3.zip
ExpressionCompiler's enums to CamelCase
Diffstat (limited to 'ASTJsonConverter.cpp')
-rw-r--r--ASTJsonConverter.cpp2
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))},