]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/binaries/matex/matex.ml
- matex: minor corrections to handle applications with many arguments
[helm.git] / matita / components / binaries / matex / matex.ml
index 454c0463a4c7321c5f067cd0b67c4b2f93bdabf0..88ae85436d3c06379b5973fb59104fe0a1b90387 100644 (file)
@@ -37,7 +37,9 @@ let help   = ""
 
 let alpha_decode = R.triple R.string R.string R.string
 
-let macro_decode = R.triple R.string R.string R.int
+let const_decode = R.pair R.string R.string
+
+let macro_decode = R.quad R.string R.string R.int R.int
 
 let init registry =
    R.load_from registry; 
@@ -47,6 +49,7 @@ 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.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 =