diff options
author | Marius Kintel <marius@kintel.net> | 2013-04-18 22:34:14 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-04-18 22:34:14 (GMT) |
commit | 58bd9c9e3f4454d055bf51d63463a9965a9dcbd7 (patch) | |
tree | 732cd423858685365a4115d44a52f85ae90866a1 /src/context.h | |
parent | 73c2a45af6afca253159d2cf9c1ecf5747f0217e (diff) |
Cleaned up argument list handling, related to #116
Diffstat (limited to 'src/context.h')
-rw-r--r-- | src/context.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/context.h b/src/context.h index 282a940..51fc45c 100644 --- a/src/context.h +++ b/src/context.h @@ -5,6 +5,7 @@ #include <vector> #include <boost/unordered_map.hpp> #include "value.h" +#include "typedefs.h" class Context { @@ -15,8 +16,7 @@ public: virtual Value evaluate_function(const std::string &name, const class EvalContext *evalctx) const; virtual class AbstractNode *evaluate_module(const class ModuleInstantiation &inst, const EvalContext *evalctx) const; - void setVariables(const std::vector<std::string> &argnames, - const std::vector<class Expression*> &argexpr, + void setVariables(const AssignmentList &args, const class EvalContext *evalctx = NULL); void set_variable(const std::string &name, const Value &value); |