summaryrefslogtreecommitdiff
path: root/graphics/asymptote/impdatum.cc
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/impdatum.cc')
-rw-r--r--graphics/asymptote/impdatum.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/asymptote/impdatum.cc b/graphics/asymptote/impdatum.cc
index 9a4d09d1bf..5597b3ee95 100644
--- a/graphics/asymptote/impdatum.cc
+++ b/graphics/asymptote/impdatum.cc
@@ -401,7 +401,8 @@ ImpDatum *callDatum(ImpDatum *callee, ImpArguments *args)
types::ty *t = callex.getType(e);
if (t->isError()) {
// Run for errors.
- runExp(&callex); em.sync();
+ runExp(&callex);
+ em.sync(true);
return datumError("invalid call");
}