summaryrefslogtreecommitdiff
path: root/cli/context.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-10-04 09:00:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-10-04 09:00:19 +0200
commitbeab8baab8a7f727f5ba65ecbd7e11decea18112 (patch)
treeac06c0ee6e7e92e3853f717e47143d3f3d5d49ff /cli/context.hxx
parent0f637644070c796d4a1561dc38dceb1de15cd577 (diff)
Add --suppress-inline option
Diffstat (limited to 'cli/context.hxx')
-rw-r--r--cli/context.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/cli/context.hxx b/cli/context.hxx
index ae490c9..8063f59 100644
--- a/cli/context.hxx
+++ b/cli/context.hxx
@@ -13,6 +13,7 @@
#include <cutl/shared-ptr.hxx>
+#include "options.hxx"
#include "semantics.hxx"
#include "traversal.hxx"
@@ -23,6 +24,7 @@ class context
public:
typedef std::size_t size_t;
typedef std::string string;
+ typedef ::options options_type;
private:
struct data;
@@ -31,6 +33,7 @@ private:
public:
std::ostream& os;
semantics::cli_unit& unit;
+ options_type const& options;
string& inl;
@@ -65,8 +68,7 @@ public:
}
public:
- context (std::ostream&,
- semantics::cli_unit&);
+ context (std::ostream&, semantics::cli_unit&, options_type const&);
context (context&);