From 920ed11a433b0e292a18adb8c68829a00e8c70cc Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 26 May 2020 21:35:59 +0300 Subject: Allow process path values and targets as buildscript program names Also deduce the recipe name. --- libbuild2/script/script.hxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libbuild2/script/script.hxx') diff --git a/libbuild2/script/script.hxx b/libbuild2/script/script.hxx index f4998b7..891b2f6 100644 --- a/libbuild2/script/script.hxx +++ b/libbuild2/script/script.hxx @@ -294,7 +294,12 @@ namespace build2 // struct command { - path program; + // We use NULL initial as an indication that the path stored in recall + // is a program name that still needs to be resolved into the builtin + // function or the process path. + // + process_path program; + strings arguments; optional in; -- cgit v1.1