diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-01-10T19·56+0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-10T19·56+0100 |
commit | c7bf1cdb4e98dcd845945374de97c3611401bc52 (patch) | |
tree | 86c28d369bd2a48d2e21f85c6c8aa3b8844d435b /src | |
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')
-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 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(); } |