]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/matitaScript.ml
Huge change!!!
[helm.git] / matita / matita / matitaScript.ml
index 8e1eb69d481d7d92fa4bf41f62937e3fe8acc787..2b849412bbaaa1218620a5948aa1723ac81b151f 100644 (file)
@@ -188,7 +188,8 @@ and eval_statement include_paths (buffer : GText.buffer) guistuff
     match statement with
     | `Raw text ->
         if Pcre.pmatch ~rex:only_dust_RE text then raise Margin;
-        let ast = MatitaEngine.get_ast grafite_status include_paths text in
+        let strm = Ulexing.from_utf8_string text in
+        let ast = MatitaEngine.get_ast grafite_status include_paths strm in
          ast, text
     | `Ast (st, text) -> st, text
   in