From 8a8752163611400e2386f1f1a449d9d3fb8f1496 Mon Sep 17 00:00:00 2001 From: Mathnerd314 Date: Sun, 6 Sep 2015 17:03:23 -0600 Subject: forceFunction: allow functors as well --- src/libexpr/eval.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libexpr/eval.hh') diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index 8df0084fd..eb55f6d4d 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -213,6 +213,8 @@ public: elements and attributes are compared recursively. */ bool eqValues(Value & v1, Value & v2); + bool isFunctor(Value & fun); + void callFunction(Value & fun, Value & arg, Value & v, const Pos & pos); void callPrimOp(Value & fun, Value & arg, Value & v, const Pos & pos); -- cgit v1.2.3