diff options
Diffstat (limited to 'option.h')
-rw-r--r-- | option.h | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -32,19 +32,18 @@ #ifndef _OPTION_H #define _OPTION_H -#include "valexpr.h" +#include "scope.h" namespace ledger { -void process_option(const string& name, expr::scope_t& scope, +void process_option(const string& name, scope_t& scope, const char * arg = NULL); void process_environment(const char ** envp, const string& tag, - expr::scope_t& scope); + scope_t& scope); void process_arguments(int argc, char ** argv, const bool anywhere, - expr::scope_t& scope, - std::list<string>& args); + scope_t& scope, std::list<string>& args); DECLARE_EXCEPTION(error, option_error); |