forceString(): Accept pos argument

This commit is contained in:
Eelco Dolstra
2014-11-25 10:23:36 +01:00
parent 976b949e4d
commit 4e340a983f
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1257,9 +1257,9 @@ void copyContext(const Value & v, PathSet & context)
}
string EvalState::forceString(Value & v, PathSet & context)
string EvalState::forceString(Value & v, PathSet & context, const Pos & pos)
{
string s = forceString(v);
string s = forceString(v, pos);
copyContext(v, context);
return s;
}