X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fbinaries%2Fmatex%2Fmatex.ml;h=30f96287a9132215b7a4332b3d00297d18040cb7;hb=f462726eaf4edb5852851ec5d265cdafe9d3a78d;hp=24775c0a66c02d021308167fbbf2f8c8dd4c07eb;hpb=348f1670b30f52db99187b2e92b45348e18ebbbe;p=helm.git diff --git a/matita/components/binaries/matex/matex.ml b/matita/components/binaries/matex/matex.ml index 24775c0a6..30f96287a 100644 --- a/matita/components/binaries/matex/matex.ml +++ b/matita/components/binaries/matex/matex.ml @@ -27,6 +27,7 @@ let help_X = " Clear configuration and options" let help_a = " Log alpha-unconverted identifiers (default: no)" let help_g = " Global alpha-conversion (default: no)" let help_l = " Output the list of generated files in this file" +let help_m = " Log missing notational macros (default: no)" let help_p = " Omit types (default: no)" let help_t = " Test term transformations (default: no)" @@ -36,6 +37,8 @@ let help = "" let alpha_decode = R.triple R.string R.string R.string +let const_decode = R.pair R.string R.string + let macro_decode = R.triple R.string R.string R.int let init registry = @@ -46,7 +49,8 @@ let init registry = end; G.alpha_type := R.get_list alpha_decode "matex.alpha.type"; G.alpha_sort := R.get_list alpha_decode "matex.alpha.sort"; - G.macro := R.get_list macro_decode "matex.macro" + G.alpha_gref := R.get_list const_decode "matex.alpha.gref"; + G.macro_gref := R.get_list macro_decode "matex.notation.const" let is_registry s = F.check_suffix s ".conf.xml" @@ -75,6 +79,7 @@ begin try "-a", A.Set G.log_alpha, help_a; "-g", A.Set G.global_alpha, help_g; "-l", A.String set_list, help_l; + "-m", A.Set G.log_missing, help_m; "-p", A.Set G.no_types, help_p; "-t", A.Set G.test, help_t; ] process help