From d9f69193c0808017517853037a50673791fca4a9 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 8 Jul 2022 15:48:18 +0300 Subject: Fix script::parser::need_cmdline_relex() --- libbuild2/script/parser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbuild2/script/parser.cxx b/libbuild2/script/parser.cxx index d5cabe2..c199c0e 100644 --- a/libbuild2/script/parser.cxx +++ b/libbuild2/script/parser.cxx @@ -26,7 +26,7 @@ namespace build2 if (c == '\\') { - if (++i != e) + if (++i == e) return false; c = *i; -- cgit v1.1