diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-11-29 13:38:28 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-11-29 13:38:28 +0200 |
commit | c06a49cb25b5a1088f645232e87629fa7830f028 (patch) | |
tree | d2dab370dd0220437479f4e8bded38f636b4871c | |
parent | 2908afbd6a9222b718c0f910edfbe2fc5943aad8 (diff) |
Fix bug in in::rule
-rw-r--r-- | libbuild2/in/rule.cxx | 4 | ||||
-rw-r--r-- | libbuild2/in/rule.hxx | 4 |
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, |