From 66b6e20659a0d611e89adde85cd7bcb34a92a2c7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 8 May 2020 13:10:29 +0200 Subject: Use recipe data in ad hoc rule --- libbuild2/recipe.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libbuild2/recipe.hxx') diff --git a/libbuild2/recipe.hxx b/libbuild2/recipe.hxx index e73a8ea..4c903b5 100644 --- a/libbuild2/recipe.hxx +++ b/libbuild2/recipe.hxx @@ -57,7 +57,7 @@ namespace build2 using location_type = build2::location; action_type action; - string recipe; + string script; optional diag; // Command name for low-verbosity diagnostics. // Diagnostics-related information. @@ -67,11 +67,11 @@ namespace build2 size_t braces; // Number of braces in multi-brace tokens. adhoc_recipe (action_type a, - string r, + string s, optional d, const location_type& l, size_t b) : action (a), - recipe (move (r)), + script (move (s)), diag (move (d)), file (l.file), location (file, l.line, l.column), braces (b) {} }; -- cgit v1.1