summaryrefslogtreecommitdiff
path: root/cli/options.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-10-04 10:50:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-10-04 10:50:50 +0200
commitcfb91e263c22f6f81ae05a2027a2befac6d41e06 (patch)
tree182e84e03664f77d4f37f462abc4d3f6b3966435 /cli/options.hxx
parent68803e8bc8888abdc65cba1a1a6d8b4e9eeea27e (diff)
Add --reserved-name option
Diffstat (limited to 'cli/options.hxx')
-rw-r--r--cli/options.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/options.hxx b/cli/options.hxx
index e2c0109..2906344 100644
--- a/cli/options.hxx
+++ b/cli/options.hxx
@@ -168,6 +168,8 @@ namespace cli
};
}
+#include <map>
+
#include <string>
#include <vector>
@@ -234,6 +236,9 @@ class options
std::string const&
guard_prefix () const;
+ std::map<std::string, std::string> const&
+ reserved_name () const;
+
private:
int
_parse (int start,
@@ -253,6 +258,7 @@ class options
bool include_with_brackets_;
std::string include_prefix_;
std::string guard_prefix_;
+ std::map<std::string, std::string> reserved_name_;
};
#include "options.ixx"