From c06a49cb25b5a1088f645232e87629fa7830f028 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 29 Nov 2021 13:38:28 +0200 Subject: Fix bug in in::rule --- libbuild2/in/rule.cxx | 4 ++-- libbuild2/in/rule.hxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libbuild2') 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 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 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 substitute (const location&, action, const target&, - depdb& dd, size_t dd_skip, + depdb& dd, size_t& dd_skip, const string& name, optional 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, -- cgit v1.1