]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2375] grammar/typo fixes in comments/doc
authorJINMEI Tatuya <jinmei@isc.org>
Tue, 20 Nov 2012 07:43:22 +0000 (16:43 +0900)
committerJINMEI Tatuya <jinmei@isc.org>
Tue, 20 Nov 2012 07:43:22 +0000 (16:43 +0900)
src/lib/dns/master_lexer.h
src/lib/dns/tests/master_lexer_unittest.cc

index 8c3701fb6a38a21c9117645b9a3928a1b4a8da6c..ce16bf46d022958adad8bfe3e2cdcf0323cb00ef 100644 (file)
@@ -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
index 68fd7c019ea9b45a1a220eb4805efff12a0692ad..78263c494ea9375728096ac81587f2296c21da3a 100644 (file)
@@ -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());
 }