aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-09-22 15:03:59 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-09-22 16:05:00 +0200
commit1e0a799bef4696b1f71d4a25fd117a2f59708f21 (patch)
tree236b6c4b3a0fe36ec544862a1dd2a10cd4a97817 /src/libexpr/eval.cc
parent022618c794f64ea354e7c9e166f3c8fc1654c470 (diff)
Rename strictForceValue -> forceValueDeep
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r--src/libexpr/eval.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index 1dab5ceff..f1212cd22 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -1181,18 +1181,18 @@ void ExprPos::eval(EvalState & state, Env & env, Value & v)
}
-void EvalState::strictForceValue(Value & v)
+void EvalState::forceValueDeep(Value & v)
{
forceValue(v);
if (v.type == tAttrs) {
foreach (Bindings::iterator, i, *v.attrs)
- strictForceValue(*i->value);
+ forceValueDeep(*i->value);
}
else if (v.type == tList) {
for (unsigned int n = 0; n < v.list.length; ++n)
- strictForceValue(*v.list.elems[n]);
+ forceValueDeep(*v.list.elems[n]);
}
}