Browse Source

[2374] Comments for end of unnamed namespaces

Jelte Jansen 12 years ago
parent
commit
c6ceedc0a1
2 changed files with 5 additions and 4 deletions
  1. 3 3
      src/lib/dns/master_lexer.cc
  2. 2 1
      src/lib/dns/tests/master_lexer_state_unittest.cc

+ 3 - 3
src/lib/dns/master_lexer.cc

@@ -30,7 +30,7 @@ namespace dns {
 
 namespace {
 typedef boost::shared_ptr<master_lexer_internal::InputSource> InputSourcePtr;
-}
+} // end unnamed namespace
 using namespace master_lexer_internal;
 
 struct MasterLexer::MasterLexerImpl {
@@ -160,7 +160,7 @@ const char* const error_text[] = {
     "unbalanced quotes"         // UNBALANCED_QUOTES
 };
 const size_t error_text_max_count = sizeof(error_text) / sizeof(error_text[0]);
-}
+} // end unnamed namespace
 
 std::string
 MasterLexer::Token::getErrorText() const {
@@ -252,7 +252,7 @@ const CRLF CRLF_STATE;
 const String STRING_STATE;
 const QString QSTRING_STATE;
 const Number NUMBER_STATE;
-}
+} // end unnamed namespace
 
 const State&
 State::getInstance(ID state_id) {

+ 2 - 1
src/lib/dns/tests/master_lexer_state_unittest.cc

@@ -578,4 +578,5 @@ TEST_F(MasterLexerStateTest, stringNumbers) {
     EXPECT_EQ(Token::END_OF_FILE, s_crlf.getToken(lexer).getType());
 }
 
-}
+} // end anonymous namespace
+