diff options
author | Tomek Mrugalski <tomasz@isc.org> | 2016-12-28 14:41:05 +0100 |
---|---|---|
committer | Tomek Mrugalski <tomasz@isc.org> | 2016-12-28 14:41:05 +0100 |
commit | a904a3e14c822cf528d5e1cd36b3ac1113aa9f9e (patch) | |
tree | 08f7d13e499d22b0ab6f031ac7614277227c6c2e /src/bin/dhcp4/parser_context.h | |
parent | [master] spelling (diff) | |
download | kea-a904a3e14c822cf528d5e1cd36b3ac1113aa9f9e.tar.xz kea-a904a3e14c822cf528d5e1cd36b3ac1113aa9f9e.zip |
[5021] SimpleParser unit-tests now use bison parser.
Diffstat (limited to 'src/bin/dhcp4/parser_context.h')
-rw-r--r-- | src/bin/dhcp4/parser_context.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/dhcp4/parser_context.h b/src/bin/dhcp4/parser_context.h index 4c8c7d1631..5f37dda521 100644 --- a/src/bin/dhcp4/parser_context.h +++ b/src/bin/dhcp4/parser_context.h @@ -123,8 +123,8 @@ public: /// @param str string to be parsed /// @param parser_type specifies expected content (usually DHCP4 or generic JSON) /// @return Element structure representing parsed text. - isc::data::ConstElementPtr parseString(const std::string& str, - ParserType parser_type); + isc::data::ElementPtr parseString(const std::string& str, + ParserType parser_type); /// @brief Run the parser on the file specified. /// @@ -136,8 +136,8 @@ public: /// @param filename file to be parsed /// @param parser_type specifies expected content (usually DHCP4 or generic JSON) /// @return Element structure representing parsed text. - isc::data::ConstElementPtr parseFile(const std::string& filename, - ParserType parser_type); + isc::data::ElementPtr parseFile(const std::string& filename, + ParserType parser_type); /// @brief Error handler /// @@ -312,7 +312,7 @@ public: /// @brief Common part of parseXXX /// /// @return Element structure representing parsed text. - isc::data::ConstElementPtr parseCommon(); + isc::data::ElementPtr parseCommon(); }; }; // end of isc::eval namespace |