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/cxx-lexer.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'odb/cxx-lexer.cxx') 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:: -- cgit v1.1