diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-06-29 14:08:29 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-06-29 14:08:29 +0200 |
commit | 2bc006daa59995085626b3e9c0754823bf9d95a5 (patch) | |
tree | 25854abe3450783ad641da07e14b3ca8e23b7c2f /odb/include.cxx | |
parent | 21fc3270c40e0623cee4363e00bb4435518a4bb7 (diff) |
Add --include-regex and --include-regex-trace options
This requires libcutl update.
Diffstat (limited to 'odb/include.cxx')
-rw-r--r-- | odb/include.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/include.cxx b/odb/include.cxx index de3be4a..8d70b64 100644 --- a/odb/include.cxx +++ b/odb/include.cxx @@ -606,9 +606,9 @@ namespace include f += ctx.options.odb_file_suffix (); f += ctx.options.hxx_suffix (); - ctx.os << "#include " << - (inc->type_ == include_directive::quote ? '"' : '<') << f << - (inc->type_ == include_directive::quote ? '"' : '>') << endl + char o (inc->type_ == include_directive::quote ? '"' : '<'); + ctx.os << "#include " << ctx.process_include_path ( + f.string (), false, o) << endl << endl; } } |