From fb9755ab4445fd86cdfc5b249b487629591d87a0 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 31 May 2018 09:14:47 +0000 Subject: [vernac] mk_atts: an atts record with default values --- vernac/vernacentries.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vernac/vernacentries.ml') diff --git a/vernac/vernacentries.ml b/vernac/vernacentries.ml index 135141cd4..1740c5a80 100644 --- a/vernac/vernacentries.ml +++ b/vernac/vernacentries.ml @@ -2344,7 +2344,7 @@ let interp ?(verbosely=true) ?proof ~st {CAst.loc;v=c} = let orig_program_mode = Flags.is_program_mode () in let rec control = function | VernacExpr (f, v) -> - let (polymorphism, atts) = attributes_of_flags f { loc; locality = None; polymorphic = false; program = orig_program_mode; } in + let (polymorphism, atts) = attributes_of_flags f (mk_atts ~program:orig_program_mode ()) in aux ~polymorphism ~atts v | VernacFail v -> with_fail st true (fun () -> control v) | VernacTimeout (n,v) -> -- cgit v1.2.3