aboutsummaryrefslogtreecommitdiff
path: root/bdep/release-parsers.hxx
blob: 0244b50b6f0d7c17c160ecc75551208e3d761787 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// file      : bdep/release-parsers.hxx -*- C++ -*-
// license   : MIT; see accompanying LICENSE file

// CLI parsers, included into the generated source files.
//

#ifndef BDEP_RELEASE_PARSERS_HXX
#define BDEP_RELEASE_PARSERS_HXX

#include <bdep/release-types.hxx>

namespace bdep
{
  namespace cli
  {
    class scanner;

    template <typename T>
    struct parser;

    template <>
    struct parser<cmd_release_current_tag>
    {
      static void
      parse (cmd_release_current_tag&, bool&, scanner&);

      static void
      merge (cmd_release_current_tag& b, const cmd_release_current_tag& a)
      {
        b = a;
      }
    };
  }
}

#endif // BDEP_RELEASE_PARSERS_HXX