From 26643cdd013f5df2bcae099852932ac09e93f8fb Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Fri, 6 Jul 2018 07:36:37 +0200 Subject: Fix compilation of Coq with camlp5 master branch. There was a conflict in the name of an exported function. A good argument in favour of PR #7898. --- grammar/coqpp_main.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grammar') diff --git a/grammar/coqpp_main.ml b/grammar/coqpp_main.ml index ef591bc99..e76a1e9ed 100644 --- a/grammar/coqpp_main.ml +++ b/grammar/coqpp_main.ml @@ -250,7 +250,7 @@ let print_rule fmt r = let print_entry fmt gram e = let print_position_opt fmt pos = print_opt fmt print_position pos in let print_rules fmt rules = print_list fmt print_rule rules in - fprintf fmt "let () =@ @[%s.safe_extend@ %s@ @[(%a, %a)@]@]@ in@ " + fprintf fmt "let () =@ @[%s.gram_extend@ %s@ @[(%a, %a)@]@]@ in@ " gram e.gentry_name print_position_opt e.gentry_pos print_rules e.gentry_rules let print_ast fmt ext = -- cgit v1.2.3