From 1c36adab776a900adc7325f412b1c8dd61b1a346 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 7 Mar 2018 15:22:51 +0200 Subject: Setup compilation, command line handling --- bdep/types-parsers.hxx | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 bdep/types-parsers.hxx (limited to 'bdep/types-parsers.hxx') diff --git a/bdep/types-parsers.hxx b/bdep/types-parsers.hxx new file mode 100644 index 0000000..725ffa3 --- /dev/null +++ b/bdep/types-parsers.hxx @@ -0,0 +1,39 @@ +// file : bdep/types-parsers.hxx -*- C++ -*- +// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +// CLI parsers, included into the generated source files. +// + +#ifndef BDEP_TYPES_PARSERS_HXX +#define BDEP_TYPES_PARSERS_HXX + +#include +#include + +namespace bdep +{ + namespace cli + { + class scanner; + + template + struct parser; + + template <> + struct parser + { + static void + parse (path&, bool&, scanner&); + }; + + template <> + struct parser + { + static void + parse (dir_path&, bool&, scanner&); + }; + } +} + +#endif // BDEP_TYPES_PARSERS_HXX -- cgit v1.1