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/build/script/parser.cxx | |
parent | e19b3b03ec3ba22717cc05854c62ed78c69bb1a4 (diff) |
Move low-verbosity command name from adhoc_script_rule to script
Diffstat (limited to 'libbuild2/build/script/parser.cxx')
-rw-r--r-- | libbuild2/build/script/parser.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libbuild2/build/script/parser.cxx b/libbuild2/build/script/parser.cxx index e64db91..81e78f3 100644 --- a/libbuild2/build/script/parser.cxx +++ b/libbuild2/build/script/parser.cxx @@ -21,7 +21,8 @@ namespace build2 // script parser:: - pre_parse (istream& is, const path_name& pn, uint64_t line) + pre_parse (istream& is, const path_name& pn, uint64_t line, + optional<string> diag) { path_ = &pn; @@ -31,6 +32,8 @@ namespace build2 set_lexer (&l); script s; + s.diag = move (diag); + script_ = &s; runner_ = nullptr; environment_ = nullptr; |