diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-05-11 11:19:04 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-05-11 11:19:04 +0200 |
commit | b42d9a345e2b02a1b17fa61b22117fbf7b187a31 (patch) | |
tree | 9c8ea0116ae35cf8df86e958495fc46563d095dd /tests/parser/driver.cxx | |
parent | 8062e4e9a4998cfa44002afd2435ff9083e092e8 (diff) |
Add support for -I option
Now quote-included ("") option files are searched for relative to the
including file while bracket-included (<>) ones are search in the
directories specified with -I.
Diffstat (limited to 'tests/parser/driver.cxx')
-rw-r--r-- | tests/parser/driver.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/parser/driver.cxx b/tests/parser/driver.cxx index 5f91564..bc963b5 100644 --- a/tests/parser/driver.cxx +++ b/tests/parser/driver.cxx @@ -29,7 +29,8 @@ main (int argc, char* argv[]) ifs.exceptions (ifstream::failbit | ifstream::badbit); ifs.open (path.string ().c_str ()); - parser p; + parser::paths include_paths; + parser p (include_paths); p.parse (ifs, path); } catch (semantics::invalid_path const& e) |