aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/parser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/parser.cxx')
-rw-r--r--libbuild2/parser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx
index dada34d..756a45b 100644
--- a/libbuild2/parser.cxx
+++ b/libbuild2/parser.cxx
@@ -1187,7 +1187,7 @@ namespace build2
{
if (d.first)
{
- if (ar->recipe_text (ctx, move (t.value), d.as))
+ if (ar->recipe_text (ctx, *target_, move (t.value), d.as))
d.clean = true;
// Verify we have no unhandled attributes.
@@ -5862,7 +5862,7 @@ namespace build2
{
fail (l) << "invalid value subscript: " << e <<
info (bl) << "use the '\\[' escape sequence if this is a "
- << "wildcard pattern";
+ << "wildcard pattern" << endf;
}
// Similar to expanding an undefined variable, we return NULL if