diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-01-10 20:56:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-10 20:56:31 +0100 |
commit | c7bf1cdb4e98dcd845945374de97c3611401bc52 (patch) | |
tree | 86c28d369bd2a48d2e21f85c6c8aa3b8844d435b /src/libexpr | |
parent | 30906122e2f780892ab72e92d623d67dde6f0e38 (diff) | |
parent | 21ea00d3ecc5428bcb02e8a7174cfd82ed421b2f (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.cc | 1 |
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(); } |