summaryrefslogtreecommitdiff
path: root/xsd/cxx/tree/counter.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-01-12 15:14:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-01-12 15:14:06 +0200
commitf3e67f694188a16e426e92fda846998fd26db50d (patch)
tree8479968d3e677af5858e7bda565674bf85d8fef8 /xsd/cxx/tree/counter.cxx
parent8e6517dd89899e8fd3b8d5b314bcdf50bd3296cc (diff)
Include file component in regex strings for schema being compiled
Diffstat (limited to 'xsd/cxx/tree/counter.cxx')
-rw-r--r--xsd/cxx/tree/counter.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/xsd/cxx/tree/counter.cxx b/xsd/cxx/tree/counter.cxx
index d2a5c10..9254226 100644
--- a/xsd/cxx/tree/counter.cxx
+++ b/xsd/cxx/tree/counter.cxx
@@ -236,10 +236,12 @@ namespace CXX
}
Counts Counter::
- count (CLI::Options const& options, SemanticGraph::Schema& tu)
+ count (CLI::Options const& options,
+ SemanticGraph::Schema& tu,
+ SemanticGraph::Path const& path)
{
Counts counts;
- Context ctx (std::wcerr, tu, options, counts, false, 0, 0, 0, 0);
+ Context ctx (std::wcerr, tu, path, options, counts, false, 0, 0, 0, 0);
Traversal::Schema schema;
Traversal::Sources sources;