diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-12-15 17:10:44 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-12-15 17:15:02 +0300 |
commit | 080c6778e89029560a6daf00605ec212ef9f39ee (patch) | |
tree | ab545bdec4179da83c46e6506bd93102b9935590 /mod | |
parent | 294c558d577cd4acb2ee8e94e0dfd6acdb946c6c (diff) |
Adapt to inventing start/colon/end positions in butl::manifest_name_value
Diffstat (limited to 'mod')
-rw-r--r-- | mod/mod-ci.cxx | 8 | ||||
-rw-r--r-- | mod/mod-submit.cxx | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/mod/mod-ci.cxx b/mod/mod-ci.cxx index e0b35dd..13f8f97 100644 --- a/mod/mod-ci.cxx +++ b/mod/mod-ci.cxx @@ -484,9 +484,11 @@ handle (request& rq, response& rs) auto add = [&rvs] (string n, string v) { - manifest_name_value nv {move (n), move (v), - 0 /* name_line */, 0 /* name_column */, - 0 /* value_line */, 0 /* value_column */}; + manifest_name_value nv { + move (n), move (v), + 0 /* name_line */, 0 /* name_column */, + 0 /* value_line */, 0 /* value_column */, + 0 /* start_pos */, 0 /* colon_pos */, 0 /* end_pos */}; rvs.emplace_back (move (nv)); }; diff --git a/mod/mod-submit.cxx b/mod/mod-submit.cxx index 9fa5d82..246dcc9 100644 --- a/mod/mod-submit.cxx +++ b/mod/mod-submit.cxx @@ -592,9 +592,11 @@ handle (request& rq, response& rs) auto add = [&rvs] (string n, string v) { - manifest_name_value nv {move (n), move (v), - 0 /* name_line */, 0 /* name_column */, - 0 /* value_line */, 0 /* value_column */}; + manifest_name_value nv { + move (n), move (v), + 0 /* name_line */, 0 /* name_column */, + 0 /* value_line */, 0 /* value_column */, + 0 /* start_pos */, 0 /* colon_pos */, 0 /* end_pos */}; rvs.emplace_back (move (nv)); }; |