diff options
Diffstat (limited to 'src/libexpr')
-rw-r--r-- | src/libexpr/eval.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index d61ee7e80795..7b74d99b19f4 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -63,6 +63,8 @@ void Bindings::sort() static void printValue(std::ostream & str, std::set<const Value *> & active, const Value & v) { + checkInterrupt(); + if (active.find(&v) != active.end()) { str << "<CYCLE>"; return; |