aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;