X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_disambiguation%2Fpa_unicode_macro.ml;h=4ba3541e5653cea8f25f0f95ec80dc633a080f3a;hb=d3c72d6856cd185e5b3e9f2e8b928b78c7031ed1;hp=afc9f63afb142e188bc2972bc467ff7a46267d2b;hpb=aba014724c9ad08f80944ec3021c9fa3826dca4a;p=helm.git diff --git a/helm/ocaml/cic_disambiguation/pa_unicode_macro.ml b/helm/ocaml/cic_disambiguation/pa_unicode_macro.ml index afc9f63af..4ba3541e5 100644 --- a/helm/ocaml/cic_disambiguation/pa_unicode_macro.ml +++ b/helm/ocaml/cic_disambiguation/pa_unicode_macro.ml @@ -24,13 +24,13 @@ *) let debug = false -let debug_print = if debug then prerr_endline else ignore +let debug_print s = if debug then prerr_endline s let loc = (0, 0) let expand_unicode_macro macro = debug_print (Printf.sprintf "Expanding macro '%s' ..." macro); - let expansion = Macro.expand macro in + let expansion = CicTextualParser2Macro.expand macro in <:expr< $str:expansion$ >> let _ =