diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-09-17 16:00:20 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-09-19 17:46:46 +0300 |
commit | 6e84c0f9c5e4d7d98d2a352eec6bc19de0d75d28 (patch) | |
tree | aa022efe5a906e6f0272b823c7829cdfe3e39eb8 /libbuild2/test/script/parser.hxx | |
parent | 8c30c59de2d304a416dfd4fcb821e0b227e5db96 (diff) |
Fix crashing on testscript command redirect overrides
Diffstat (limited to 'libbuild2/test/script/parser.hxx')
-rw-r--r-- | libbuild2/test/script/parser.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/test/script/parser.hxx b/libbuild2/test/script/parser.hxx index e4d1f3a..4d3fa49 100644 --- a/libbuild2/test/script/parser.hxx +++ b/libbuild2/test/script/parser.hxx @@ -122,7 +122,8 @@ namespace build2 struct here_doc { // Redirects that share here_doc. Most of the time we will have no - // more than 2 (2 - for the roundtrip test cases). + // more than 2 (2 - for the roundtrip test cases). Doesn't refer + // overridden redirects and thus can be empty. // small_vector<here_redirect, 2> redirects; |