From 4518ea95408e2d5fe90a87159b88bb41734ec1dc Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 29 Jul 2008 05:10:16 -0400 Subject: Value expression architecture is now rewritten, but the functionality of the old system (for example, the meaning of 'a') has yet to be restored. In the new scheme, this will be done by definition a function outside of the value expression logic, rather than the tight coupling between journal innards and value expressions that occurred in 2.x. --- option.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'option.h') diff --git a/option.h b/option.h index 10ed3f4d..fa908eff 100644 --- a/option.h +++ b/option.h @@ -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& args); + scope_t& scope, std::list& args); DECLARE_EXCEPTION(error, option_error); -- cgit v1.2.3