aboutsummaryrefslogtreecommitdiff
path: root/bbot/types-parsers.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-04-30 23:21:12 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-04-30 23:26:21 +0300
commit0ffb0a1a0a13d07c4448f7752232d8854b790623 (patch)
tree9d1e173375d53e05c52568dc69633ed98697190d /bbot/types-parsers.hxx
parent1364413cee696ff60f4dd1e3ac1eb281ac7a4e8f (diff)
Add hxx extension for headers and lib prefix for library dirs
Diffstat (limited to 'bbot/types-parsers.hxx')
-rw-r--r--bbot/types-parsers.hxx38
1 files changed, 38 insertions, 0 deletions
diff --git a/bbot/types-parsers.hxx b/bbot/types-parsers.hxx
new file mode 100644
index 0000000..eef3418
--- /dev/null
+++ b/bbot/types-parsers.hxx
@@ -0,0 +1,38 @@
+// file : bbot/types-parsers.hxx -*- C++ -*-
+// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+// license : TBC; see accompanying LICENSE file
+
+// CLI parsers, included into the generated source files.
+//
+
+#ifndef BBOT_TYPES_PARSERS_HXX
+#define BBOT_TYPES_PARSERS_HXX
+
+#include <bbot/types.hxx>
+
+namespace bbot
+{
+ namespace cli
+ {
+ class scanner;
+
+ template <typename T>
+ struct parser;
+
+ template <>
+ struct parser<path>
+ {
+ static void
+ parse (path&, bool&, scanner&);
+ };
+
+ template <>
+ struct parser<dir_path>
+ {
+ static void
+ parse (dir_path&, bool&, scanner&);
+ };
+ }
+}
+
+#endif // BBOT_TYPES_PARSERS_HXX