From ed60746355044dd39acd82b8f42c4d9886914567 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 2 Jun 2010 17:22:12 +0200 Subject: Implement generation of specifier functions (--generate-specifier) These functions determine whether the option was specified on the command line. New test: specifier. --- cli/context.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli/context.cxx') diff --git a/cli/context.cxx b/cli/context.cxx index 43dfde2..a740374 100644 --- a/cli/context.cxx +++ b/cli/context.cxx @@ -100,6 +100,7 @@ context (ostream& os_, unit (unit_), options (ops), modifier (options.generate_modifier ()), + specifier (options.generate_specifier ()), usage (!options.suppress_usage ()), inl (data_->inl_), opt_prefix (options.option_prefix ()), @@ -121,6 +122,7 @@ context (context& c) unit (c.unit), options (c.options), modifier (c.modifier), + specifier (c.specifier), usage (c.usage), inl (c.inl), opt_prefix (c.opt_prefix), -- cgit v1.1