diff options
author | pboutill <pboutill@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2012-05-23 14:41:24 +0000 |
---|---|---|
committer | pboutill <pboutill@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2012-05-23 14:41:24 +0000 |
commit | 8837c2365c382adb0a74bfedabb1659eeb472adc (patch) | |
tree | 88761584df9487ab39fe2bc2627c029d67acc229 /ide/config_lexer.mll | |
parent | 24473ef1954c856907ba8907a4d2c910505125a1 (diff) |
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
Diffstat (limited to 'ide/config_lexer.mll')
-rw-r--r-- | ide/config_lexer.mll | 7 |
1 files changed, 3 insertions, 4 deletions
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 "@[<hov 2>%s = %a@]@\n" k print_list s) m; fprintf fmt "@."; close_out c |