From 1b64460a2b2c5411b6052cd4c4d8e8b0d46a4086 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 10 Jul 2012 15:14:21 +0200 Subject: Add support for SQL lexer reuse --- odb/sql-lexer.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'odb/sql-lexer.hxx') diff --git a/odb/sql-lexer.hxx b/odb/sql-lexer.hxx index adeff37..bb1c56e 100644 --- a/odb/sql-lexer.hxx +++ b/odb/sql-lexer.hxx @@ -15,8 +15,11 @@ class sql_lexer { public: + sql_lexer (); sql_lexer (std::string const& sql); + void lex (std::string const& sql); + struct invalid_input { invalid_input (std::size_t l, std::size_t c, std::string const& m) -- cgit v1.1