diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-05-31 12:37:59 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-06-08 15:43:08 +0200 |
commit | c5feaaf745421f2ecda672585c462cf4c807d25d (patch) | |
tree | da5b002dbd03fd624462cacfebb469df63708e63 /libbuild2/build/script/parser.test.cxx | |
parent | 274d65d2a76ed48cb618e25e0916e20ba3d5c87b (diff) |
Only pass target to recipe_text() if recipe is not shared
Diffstat (limited to 'libbuild2/build/script/parser.test.cxx')
-rw-r--r-- | libbuild2/build/script/parser.test.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/build/script/parser.test.cxx b/libbuild2/build/script/parser.test.cxx index 29711ef..c1ba1d1 100644 --- a/libbuild2/build/script/parser.test.cxx +++ b/libbuild2/build/script/parser.test.cxx @@ -208,7 +208,7 @@ namespace build2 parser p (ctx); path_name nm ("buildfile"); - script s (p.pre_parse (tt, acts, + script s (p.pre_parse (tt.base_scope (), &tt, acts, cin, nm, 11 /* line */, (m != mode::diag |