diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-05-29 15:01:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-05-29 15:01:15 +0200 |
commit | 8a8628cc5ca1ba198e96d7808afc5875a5043bbc (patch) | |
tree | 9a5e7b23a6e2c59def5a7d66b568433c375ff351 /libbuild2/parser.cxx | |
parent | e19b3b03ec3ba22717cc05854c62ed78c69bb1a4 (diff) |
Move low-verbosity command name from adhoc_script_rule to script
Diffstat (limited to 'libbuild2/parser.cxx')
-rw-r--r-- | libbuild2/parser.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx index 920c633..72d189e 100644 --- a/libbuild2/parser.cxx +++ b/libbuild2/parser.cxx @@ -1169,15 +1169,15 @@ namespace build2 i = d.as.erase (i); } - auto* asr (new adhoc_script_rule ( - move (diag), loc, st.value.size ())); + auto* asr (new adhoc_script_rule (loc, st.value.size ())); ar.reset (asr); asr->checksum = sha256 (t.value).string (); istringstream is (move (t.value)); build::script::parser p (ctx); - asr->script = p.pre_parse (is, asr->loc.file, loc.line + 1); + asr->script = p.pre_parse ( + is, asr->loc.file, loc.line + 1, move (diag)); } // // C++ |