From: JINMEI Tatuya Date: Tue, 20 Nov 2012 07:43:22 +0000 (+0900) Subject: [2375] grammar/typo fixes in comments/doc X-Git-Tag: bind10-1.0.0-beta-release~84^2~3^2~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=23b2fe710bb60d7337a67cdaea2fc2d150586f9b;p=thirdparty%2Fkea.git [2375] grammar/typo fixes in comments/doc --- diff --git a/src/lib/dns/master_lexer.h b/src/lib/dns/master_lexer.h index 8c3701fb6a..ce16bf46d0 100644 --- a/src/lib/dns/master_lexer.h +++ b/src/lib/dns/master_lexer.h @@ -203,7 +203,7 @@ public: /// bitwise or (eg. option1 | option 2). See description of available /// options. /// \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 /// invalid when the lexer is destroyed. /// \throw isc::InvalidOperation in case the source is not available. This diff --git a/src/lib/dns/tests/master_lexer_unittest.cc b/src/lib/dns/tests/master_lexer_unittest.cc index 68fd7c019e..78263c494e 100644 --- a/src/lib/dns/tests/master_lexer_unittest.cc +++ b/src/lib/dns/tests/master_lexer_unittest.cc @@ -281,7 +281,7 @@ TEST_F(MasterLexerTest, getUnbalanced) { // The string gets out first EXPECT_EQ(MasterLexer::Token::STRING, lexer.getNextToken().getType()); - // Then an unbalanced parethsis + // Then an unbalanced parenthesis EXPECT_EQ(MasterLexer::Token::UNBALANCED_PAREN, lexer.getNextToken().getErrorCode()); }