aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/script/parser.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-07-08 15:48:18 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-07-08 15:48:18 +0300
commitd9f69193c0808017517853037a50673791fca4a9 (patch)
treec1df74262e82b72921d1053549fe5584b0df71ea /libbuild2/script/parser.cxx
parentd7be17d569516c66e59e152f2d4673ed343f9bb6 (diff)
Fix script::parser::need_cmdline_relex()
Diffstat (limited to 'libbuild2/script/parser.cxx')
-rw-r--r--libbuild2/script/parser.cxx2
1 files changed, 1 insertions, 1 deletions
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;