aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-01-10 20:56:31 +0100
committerGitHub <noreply@github.com>2019-01-10 20:56:31 +0100
commitc7bf1cdb4e98dcd845945374de97c3611401bc52 (patch)
tree86c28d369bd2a48d2e21f85c6c8aa3b8844d435b /src
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')
-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 ab407e569..2a194d0e0 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();
}