diff options
Diffstat (limited to 'kernel/csymtable.ml')
-rw-r--r-- | kernel/csymtable.ml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/kernel/csymtable.ml b/kernel/csymtable.ml index 789df8b3d..bef5b751f 100644 --- a/kernel/csymtable.ml +++ b/kernel/csymtable.ml @@ -160,7 +160,12 @@ and eval_to_patch env (buff,pl,fv) = and val_of_constr env c = let (_,fun_code,_ as ccfv) = try compile env c - with e -> print_string "can not compile \n";Format.print_flush();raise e in + with e -> + let e = Errors.push e in + let () = print_string "can not compile \n" in + let () = Format.print_flush () in + raise e + in eval_to_patch env (to_memory ccfv) let set_transparent_const kn = () (* !?! *) |