From 6e84c0f9c5e4d7d98d2a352eec6bc19de0d75d28 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 17 Sep 2019 16:00:20 +0300 Subject: Fix crashing on testscript command redirect overrides --- libbuild2/test/script/parser.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libbuild2/test/script/parser.hxx') 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 redirects; -- cgit v1.1