aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/script/parser.cxx
diff options
context:
space:
mode:
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;