Commit a75dc830 authored by bguillaum's avatar bguillaum
Browse files

version 2.24: updated to libcaml-conll 0.12

git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/semagramme/dep2pict/trunk@9253 7838e531-6607-4d57-9587-6c381814729c
parent fcd33f79
......@@ -22,7 +22,7 @@ native_nogui:
echo "no" > GUI
$(OCB) main.native
native_gui: src/dep2pict_glade.ml
native_gui: src/dep2pict_glade.ml datadir
echo "yes" > GUI
sed -iback 's|src/dep2pict.glade|$(DATA_DIR)dep2pict.glade|g' src/dep2pict_glade.ml
rm -f src/dep2pict_glade.mlback
......
true: package(str, ANSITerminal, camomile, cairo2, log, conll, dep2pict)
true: package(containers, str, ANSITerminal, camomile, cairo2, log, svg, conll, dep2pict)
......@@ -74,7 +74,7 @@ let main () =
if first then set_position ();
input_last_modifaction_time := (let stat = Unix.stat !input_file in stat.Unix.st_mtime);
user_hpos := ui#scroll#hadjustment#value; (* Hack (cf above) *)
refresh_view ()
refresh_view ()
with
| Dep2pict.Parse_error msgs ->
ui#error_view#buffer#set_text
......@@ -83,7 +83,7 @@ let main () =
| Dep2pict.Unknown_index id -> ui#error_view#buffer#set_text ("Can't find index: "^id)
| Dep2pict.Loop_in_dep msg -> ui#error_view#buffer#set_text ("Loop in dependency: "^msg)
| Dep2pict.Conll_format msg -> ui#error_view#buffer#set_text ("Conll format: "^msg)
| Conll.Error msg -> ui#error_view#buffer#set_text ("XXX: "^ msg) in
| Conll_types.Error msg -> ui#error_view#buffer#set_text ("XXX: "^ msg) in
(* check if file has changed *)
......@@ -207,6 +207,6 @@ let main () =
ui#check_widgets ();
ui#toplevel#show ();
reload true;
reload true;
GMain.Main.main ()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment