aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/in/rule.cxx4
-rw-r--r--libbuild2/in/rule.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/libbuild2/in/rule.cxx b/libbuild2/in/rule.cxx
index 941f44d..faf1ec1 100644
--- a/libbuild2/in/rule.cxx
+++ b/libbuild2/in/rule.cxx
@@ -418,7 +418,7 @@ namespace build2
void rule::
process (const location& l,
action a, const target& t,
- depdb& dd, size_t dd_skip,
+ depdb& dd, size_t& dd_skip,
string& s, size_t b,
const char* nl,
char sym,
@@ -496,7 +496,7 @@ namespace build2
optional<string> rule::
substitute (const location& l,
action a, const target& t,
- depdb& dd, size_t dd_skip,
+ depdb& dd, size_t& dd_skip,
const string& n,
optional<uint64_t> flags,
bool strict,
diff --git a/libbuild2/in/rule.hxx b/libbuild2/in/rule.hxx
index ff7a2f3..1294586 100644
--- a/libbuild2/in/rule.hxx
+++ b/libbuild2/in/rule.hxx
@@ -96,7 +96,7 @@ namespace build2
optional<string>
substitute (const location&,
action, const target&,
- depdb& dd, size_t dd_skip,
+ depdb& dd, size_t& dd_skip,
const string& name,
optional<uint64_t> flags,
bool strict,
@@ -108,7 +108,7 @@ namespace build2
virtual void
process (const location&,
action, const target&,
- depdb& dd, size_t dd_skip,
+ depdb& dd, size_t& dd_skip,
string& line, size_t pos,
const char* newline,
char sym,