aboutsummaryrefslogtreecommitdiff
path: root/odb/lookup.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-07-25 12:13:38 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-07-27 10:30:15 +0200
commit923639283d2bae0b82cb605fa4680a3058c9d973 (patch)
tree3c122b70129cdd2b502e1f7056eac896c109f03a /odb/lookup.hxx
parentadfa9bbd04cd3571932ee7675344ca723bfa1eab (diff)
Add support for defining indexes
New db pragma qualifier: index. New tests: common/index, mysql/index, pgsql/index.
Diffstat (limited to 'odb/lookup.hxx')
-rw-r--r--odb/lookup.hxx6
1 files changed, 6 insertions, 0 deletions
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::<something-other-than-name>' form.
+ // In this case token will be <something-other-than-name> 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);
}