diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-07-25 12:13:38 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-07-27 10:30:15 +0200 |
commit | 923639283d2bae0b82cb605fa4680a3058c9d973 (patch) | |
tree | 3c122b70129cdd2b502e1f7056eac896c109f03a /odb/cxx-lexer.cxx | |
parent | adfa9bbd04cd3571932ee7675344ca723bfa1eab (diff) |
Add support for defining indexes
New db pragma qualifier: index. New tests: common/index, mysql/index,
pgsql/index.
Diffstat (limited to 'odb/cxx-lexer.cxx')
-rw-r--r-- | odb/cxx-lexer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/cxx-lexer.cxx b/odb/cxx-lexer.cxx index b02b4e0..dc09a17 100644 --- a/odb/cxx-lexer.cxx +++ b/odb/cxx-lexer.cxx @@ -37,11 +37,11 @@ cxx_lexer:: // void cxx_tokens_lexer:: -start (cxx_tokens const& ts) +start (cxx_tokens const& ts, location_t start_loc) { tokens_ = &ts; cur_ = ts.begin (); - loc_ = 0; + loc_ = start_loc; } cpp_ttype cxx_tokens_lexer:: |