summaryrefslogtreecommitdiff
path: root/odb/cxx-lexer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/cxx-lexer.cxx')
-rw-r--r--odb/cxx-lexer.cxx4
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::