diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-03-30 23:07:26 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-04-01 13:13:23 +0300 |
commit | 2b2f2dc54856b679e8fd42b053f7361241c0f836 (patch) | |
tree | cdba437bf14b65d729ed027869c9ad8041dbe4fd /mod/types-parsers.hxx | |
parent | 8dec2ac658d78d58437d77be08c9f2614c259cc6 (diff) |
Invent alternative package rebuild timeout
Diffstat (limited to 'mod/types-parsers.hxx')
-rw-r--r-- | mod/types-parsers.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mod/types-parsers.hxx b/mod/types-parsers.hxx index 091c868..6b851eb 100644 --- a/mod/types-parsers.hxx +++ b/mod/types-parsers.hxx @@ -39,6 +39,15 @@ namespace brep parse (dir_path&, bool&, scanner&); }; + // Parse time of day specified in the `hh:mm` form. + // + template <> + struct parser<duration> + { + static void + parse (duration&, bool&, scanner&); + }; + template <> struct parser<bpkg::repository_location> { |