From e253cd97c6a8d55a5be19731d58769f4663ab2d1 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 6 Oct 2021 22:16:46 +0300 Subject: Add support for applying backward compatibility workarounds to packages.manifest file generated by rep-create --- bpkg/types-parsers.hxx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'bpkg/types-parsers.hxx') 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 + #include #include @@ -59,6 +61,19 @@ namespace bpkg }; template <> + struct parser + { + 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 { static void -- cgit v1.1