From: Francis Dupont Date: Wed, 8 Feb 2017 15:34:13 +0000 (+0100) Subject: [5076] spelling X-Git-Tag: trac3590_base~3^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d8ccdaaec9be23e5095d660dd0a8093e0ff0e02d;p=thirdparty%2Fkea.git [5076] spelling --- diff --git a/src/bin/agent/parser_context.h b/src/bin/agent/parser_context.h index 2ce07693dc..6ba7839dcd 100644 --- a/src/bin/agent/parser_context.h +++ b/src/bin/agent/parser_context.h @@ -94,7 +94,7 @@ public: /// for supported syntax checkers. /// /// @param str string to be parsed - /// @param parser_type specifies expected content (usually DHCP6 or generic JSON) + /// @param parser_type specifies expected content (usually AGENT or generic JSON) /// @return Element structure representing parsed text. isc::data::ElementPtr parseString(const std::string& str, ParserType parser_type); @@ -152,7 +152,7 @@ public: ///< This one is used in pure JSON mode. NO_KEYWORDS, - ///< Used while parsing content of Dhcp6. + ///< Used while parsing content of Agent. KEYWORDS } LexerContext; diff --git a/src/bin/agent/tests/parser_unittests.cc b/src/bin/agent/tests/parser_unittests.cc index 29ab6c3c08..e52bd35692 100644 --- a/src/bin/agent/tests/parser_unittests.cc +++ b/src/bin/agent/tests/parser_unittests.cc @@ -88,7 +88,7 @@ TEST(ParserTest, nestedLists) { } TEST(ParserTest, listsInMaps) { - string txt = "{ \"constellations\": { \"orion\": [ \"rigel\", \"betelguese\" ], " + string txt = "{ \"constellations\": { \"orion\": [ \"rigel\", \"betelgeuse\" ], " "\"cygnus\": [ \"deneb\", \"albireo\"] } }"; testParser(txt, ParserContext::PARSER_JSON); }