aboutsummaryrefslogtreecommitdiff
path: root/mod/types-parsers.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/types-parsers.hxx')
-rw-r--r--mod/types-parsers.hxx9
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>
{