aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-11-23 19:21:43 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-11-23 19:27:32 +0300
commita1ddd27f217f3ae2664128c72522d76cb0af8c80 (patch)
treee798c9ecf3fc6567a1c27a93afca38cbd7062483
parent88fc41ce5d1c1cb8876adea744a6e501ebbd1a11 (diff)
Fix multi-line value parsing in manifest parser
-rw-r--r--libbutl/manifest-parser.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbutl/manifest-parser.cxx b/libbutl/manifest-parser.cxx
index 0a11f7c..1cb0ec7 100644
--- a/libbutl/manifest-parser.cxx
+++ b/libbutl/manifest-parser.cxx
@@ -237,7 +237,10 @@ namespace butl
ml = true;
}
else if (eos (p))
+ {
+ c = p; // Set to EOF.
ml = true;
+ }
else
unget (c);
}