diff options
Diffstat (limited to 'src/bin/d2/parser_context.h')
-rw-r--r-- | src/bin/d2/parser_context.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/bin/d2/parser_context.h b/src/bin/d2/parser_context.h index a5a00ba780..cd5851a3ef 100644 --- a/src/bin/d2/parser_context.h +++ b/src/bin/d2/parser_context.h @@ -199,14 +199,9 @@ public: /// /// @param loc location within the parsed file where the problem was experienced /// @param what string explaining the nature of the error - /// @param pos optional position for in string errors. The optional position - /// for an error in a string begins by 1 so the caller should add 1 to the - /// position of the C++ string. /// /// @throw ParseError - void warning(const isc::d2::location& loc, - const std::string& what, - size_t pos = 0); + void warning(const isc::d2::location& loc, const std::string& what); /// @brief Defines syntactic contexts for lexical tie-ins typedef enum { |