about summary refs log tree commit diff
path: root/src/libexpr
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-01-10T19·56+0100
committerGitHub <noreply@github.com>2019-01-10T19·56+0100
commitc7bf1cdb4e98dcd845945374de97c3611401bc52 (patch)
tree86c28d369bd2a48d2e21f85c6c8aa3b8844d435b /src/libexpr
parent30906122e2f780892ab72e92d623d67dde6f0e38 (diff)
parent21ea00d3ecc5428bcb02e8a7174cfd82ed421b2f (diff)
Merge pull request #2608 from dtzWill/fix/issue-2546
EvalState::resetFileCache: clear parse cache as well as eval cache
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/eval.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index ab407e56907c..2a194d0e08c9 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -757,6 +757,7 @@ void EvalState::evalFile(const Path & path_, Value & v)
 void EvalState::resetFileCache()
 {
     fileEvalCache.clear();
+    fileParseCache.clear();
 }