From 8837c2365c382adb0a74bfedabb1659eeb472adc Mon Sep 17 00:00:00 2001 From: pboutill Date: Wed, 23 May 2012 14:41:24 +0000 Subject: Revert copy/pasted function in to minilib thanks to clib.cma git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15352 85f007b7-540e-0410-9357-904b9bb8a0f7 --- ide/config_lexer.mll | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'ide/config_lexer.mll') diff --git a/ide/config_lexer.mll b/ide/config_lexer.mll index 57699c686..fe790042b 100644 --- a/ide/config_lexer.mll +++ b/ide/config_lexer.mll @@ -10,7 +10,6 @@ open Lexing open Format - open Minilib let string_buffer = Buffer.create 1024 @@ -23,7 +22,7 @@ let ignore = space | ('#' [^ '\n']*) rule prefs m = parse |ignore* (ident as id) ignore* '=' { let conf = str_list [] lexbuf in - prefs (Stringmap.add id conf m) lexbuf } + prefs (Util.Stringmap.add id conf m) lexbuf } | _ { let c = lexeme_start lexbuf in eprintf "coqiderc: invalid character (%d)\n@." c; prefs m lexbuf } @@ -48,7 +47,7 @@ and string = parse let load_file f = let c = open_in f in let lb = from_channel c in - let m = prefs Stringmap.empty lb in + let m = prefs Util.Stringmap.empty lb in close_in c; m @@ -59,7 +58,7 @@ and string = parse | [] -> () | s :: sl -> fprintf fmt "%S@ %a" s print_list sl in - Stringmap.iter + Util.Stringmap.iter (fun k s -> fprintf fmt "@[%s = %a@]@\n" k print_list s) m; fprintf fmt "@."; close_out c -- cgit v1.2.3