diff options
Diffstat (limited to 'build2/in')
-rw-r--r-- | build2/in/target.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/build2/in/target.cxx b/build2/in/target.cxx index fec1135..65281a1 100644 --- a/build2/in/target.cxx +++ b/build2/in/target.cxx @@ -34,9 +34,14 @@ namespace build2 } static bool - in_pattern (const target_type&, const scope&, string&, bool) + in_pattern (const target_type&, + const scope&, + string&, + optional<string>&, + const location& l, + bool) { - fail << "pattern in in{} prerequisite" << endf; + fail (l) << "pattern in in{} prerequisite" << endf; } extern const char in_ext_def[] = ""; // No extension by default. |