aboutsummaryrefslogtreecommitdiff
path: root/butl/manifest-parser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'butl/manifest-parser.cxx')
-rw-r--r--butl/manifest-parser.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/butl/manifest-parser.cxx b/butl/manifest-parser.cxx
index 5028f18..6b50d6b 100644
--- a/butl/manifest-parser.cxx
+++ b/butl/manifest-parser.cxx
@@ -174,6 +174,14 @@ namespace butl
unget (c);
}
+ // Multi-line value starts from the line that follows the name.
+ //
+ if (ml)
+ {
+ r.value_line = c.line;
+ r.value_column = c.column;
+ }
+
// The nl flag signals that the preceding character was a "special
// newline", that is, a newline that was part of the milti-line mode
// introductor or an escape sequence.