From 923639283d2bae0b82cb605fa4680a3058c9d973 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 25 Jul 2012 12:13:38 +0200 Subject: Add support for defining indexes New db pragma qualifier: index. New tests: common/index, mysql/index, pgsql/index. --- odb/lookup.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'odb/lookup.hxx') diff --git a/odb/lookup.hxx b/odb/lookup.hxx index 7df8f34..c207543 100644 --- a/odb/lookup.hxx +++ b/odb/lookup.hxx @@ -40,6 +40,11 @@ namespace lookup std::string& tl, // Token literal. tree& tn); // Token node. + // If trailing_scope is true, then this function also handles + // names in the 'foo::bar::' form. + // In this case token will be and + // ptt will be CPP_SCOPE. + // tree resolve_scoped_name (cxx_lexer&, cpp_ttype&, @@ -49,6 +54,7 @@ namespace lookup tree start_scope, std::string& name, bool is_type, + bool trailing_scope = false, tree* end_scope = 0); } -- cgit v1.1