aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NameAndTypeResolver.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/NameAndTypeResolver.cpp b/NameAndTypeResolver.cpp
index 813e0452..9aebbf05 100644
--- a/NameAndTypeResolver.cpp
+++ b/NameAndTypeResolver.cpp
@@ -376,7 +376,9 @@ void DeclarationRegistrationHelper::registerDeclaration(Declaration& _declaratio
errinfo_sourceLocation(secondDeclarationLocation) <<
errinfo_comment("Identifier already declared.") <<
errinfo_secondarySourceLocation(
- SecondarySourceLocation().append("The previous declaration is here:", firstDeclarationLocation)));
+ SecondarySourceLocation().append("The previous declaration is here:", firstDeclarationLocation)
+ )
+ );
}
_declaration.setScope(m_currentScope);