aboutsummaryrefslogtreecommitdiff
path: root/mod/types-parsers.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-08-23 15:27:06 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-08-24 12:04:28 +0300
commitc96ccf5e3cd131e9f3edbd3516b0251dd4461071 (patch)
tree3cb58d2207efce5d91af118d6126d166bfab5975 /mod/types-parsers.hxx
parent69ceb5c44c1a2d1799279d49b066a75c5fe53089 (diff)
Add repository_url type parser
Backup
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 4ef06b3..36128d9 100644
--- a/mod/types-parsers.hxx
+++ b/mod/types-parsers.hxx
@@ -8,6 +8,8 @@
#ifndef MOD_TYPES_PARSERS_HXX
#define MOD_TYPES_PARSERS_HXX
+#include <libbpkg/manifest.hxx> // repository_url
+
#include <web/xhtml-fragment.hxx>
#include <libbrep/types.hxx>
@@ -39,6 +41,13 @@ namespace brep
};
template <>
+ struct parser<bpkg::repository_url>
+ {
+ static void
+ parse (bpkg::repository_url&, bool&, scanner&);
+ };
+
+ template <>
struct parser<page_form>
{
static void