aboutsummaryrefslogtreecommitdiff
path: root/bpkg/types-parsers.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/types-parsers.hxx')
-rw-r--r--bpkg/types-parsers.hxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/bpkg/types-parsers.hxx b/bpkg/types-parsers.hxx
index d687156..007d754 100644
--- a/bpkg/types-parsers.hxx
+++ b/bpkg/types-parsers.hxx
@@ -7,6 +7,8 @@
#ifndef BPKG_TYPES_PARSERS_HXX
#define BPKG_TYPES_PARSERS_HXX
+#include <libbutl/standard-version.hxx>
+
#include <libbpkg/manifest.hxx>
#include <bpkg/types.hxx>
@@ -59,6 +61,19 @@ namespace bpkg
};
template <>
+ struct parser<butl::standard_version>
+ {
+ static void
+ parse (butl::standard_version&, bool&, scanner&);
+
+ static void
+ merge (butl::standard_version& b, const butl::standard_version& a)
+ {
+ b = a;
+ }
+ };
+
+ template <>
struct parser<auth>
{
static void