Browse Source

[2375] grammar/typo fixes in comments/doc

JINMEI Tatuya 12 years ago
parent
commit
23b2fe710b
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/lib/dns/master_lexer.h
  2. 1 1
      src/lib/dns/tests/master_lexer_unittest.cc

+ 1 - 1
src/lib/dns/master_lexer.h

@@ -203,7 +203,7 @@ public:
     ///     bitwise or (eg. option1 | option 2). See description of available
     ///     bitwise or (eg. option1 | option 2). See description of available
     ///     options.
     ///     options.
     /// \return Next token found in the input. Note that the token refers to
     /// \return Next token found in the input. Note that the token refers to
-    ///     some internal data in in the lexer. It is valid only until
+    ///     some internal data in the lexer. It is valid only until
     ///     getNextToken or ungetToken is called. Also, the token becomes
     ///     getNextToken or ungetToken is called. Also, the token becomes
     ///     invalid when the lexer is destroyed.
     ///     invalid when the lexer is destroyed.
     /// \throw isc::InvalidOperation in case the source is not available. This
     /// \throw isc::InvalidOperation in case the source is not available. This

+ 1 - 1
src/lib/dns/tests/master_lexer_unittest.cc

@@ -281,7 +281,7 @@ TEST_F(MasterLexerTest, getUnbalanced) {
 
 
     // The string gets out first
     // The string gets out first
     EXPECT_EQ(MasterLexer::Token::STRING, lexer.getNextToken().getType());
     EXPECT_EQ(MasterLexer::Token::STRING, lexer.getNextToken().getType());
-    // Then an unbalanced parethsis
+    // Then an unbalanced parenthesis
     EXPECT_EQ(MasterLexer::Token::UNBALANCED_PAREN,
     EXPECT_EQ(MasterLexer::Token::UNBALANCED_PAREN,
               lexer.getNextToken().getErrorCode());
               lexer.getNextToken().getErrorCode());
 }
 }