From 153a943de7c333470e2b7338a8edae4a8ae52181 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 7 Jan 2015 13:43:55 +0100 Subject: Show position info for failing <...> lookups --- src/libexpr/eval.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libexpr/eval.hh') diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index 78942927fd24..ed648fba8d77 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -169,7 +169,7 @@ public: /* Look up a file in the search path. */ Path findFile(const string & path); - Path findFile(SearchPath & searchPath, const string & path); + Path findFile(SearchPath & searchPath, const string & path, const Pos & pos = noPos); /* Evaluate an expression to normal form, storing the result in value `v'. */ -- cgit 1.4.1