aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-03-17 21:44:44 +0800
committerchriseth <chris@ethereum.org>2017-03-17 21:44:44 +0800
commit44a032992144222aa604e94c1a2b6a63f9f34b4d (patch)
tree88e2232144904e926abc3d0f562da0f4006c2b80
parent616a9854e96b0892f3f0c881d87185b163cf3b87 (diff)
downloaddexon-solidity-44a032992144222aa604e94c1a2b6a63f9f34b4d.tar.gz
dexon-solidity-44a032992144222aa604e94c1a2b6a63f9f34b4d.tar.zst
dexon-solidity-44a032992144222aa604e94c1a2b6a63f9f34b4d.zip
Comment.
-rw-r--r--libsolidity/ast/ASTJsonConverter.cpp2
-rw-r--r--libsolidity/ast/ASTJsonConverter.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/ast/ASTJsonConverter.cpp b/libsolidity/ast/ASTJsonConverter.cpp
index c57fd6b2..9ea23687 100644
--- a/libsolidity/ast/ASTJsonConverter.cpp
+++ b/libsolidity/ast/ASTJsonConverter.cpp
@@ -694,7 +694,7 @@ string ASTJsonConverter::visibility(Declaration::Visibility const& _visibility)
}
}
-string ASTJsonConverter::location( VariableDeclaration::Location _location)
+string ASTJsonConverter::location(VariableDeclaration::Location _location)
{
switch (_location)
{
diff --git a/libsolidity/ast/ASTJsonConverter.h b/libsolidity/ast/ASTJsonConverter.h
index 603f2ab1..bd5e6560 100644
--- a/libsolidity/ast/ASTJsonConverter.h
+++ b/libsolidity/ast/ASTJsonConverter.h
@@ -168,7 +168,7 @@ private:
m_jsonNodePtrs.pop();
}
- bool m_inEvent = false;
+ bool m_inEvent = false; ///< whether we are currently inside an event or not
bool processed = false;
Json::Value m_astJson;
std::stack<Json::Value*> m_jsonNodePtrs;