From f14743ef28248ea8a8ad9bae1c7c3d6a354da257 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 14 Mar 2011 16:36:58 +0200 Subject: Add support for SQLite type system, adjust code generators --- odb/sql-token.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'odb/sql-token.hxx') diff --git a/odb/sql-token.hxx b/odb/sql-token.hxx index fabcc99..4d9c7a1 100644 --- a/odb/sql-token.hxx +++ b/odb/sql-token.hxx @@ -7,6 +7,7 @@ #define ODB_SQL_TOKEN_HXX #include +#include #include // std::size_t class sql_token @@ -36,6 +37,8 @@ public: public: enum punctuation_type { + // Keep synched with punctuation_literals in source file. + // p_semi, p_comma, p_lparen, @@ -74,6 +77,9 @@ private: std::string str_; }; +std::ostream& +operator<< (std::ostream&, sql_token const&); + #include #endif // ODB_SQL_TOKEN_HXX -- cgit v1.1