diff options
author | Enrico Tassi <Enrico.Tassi@inria.fr> | 2014-06-25 17:04:35 +0200 |
---|---|---|
committer | Enrico Tassi <Enrico.Tassi@inria.fr> | 2014-06-25 17:04:35 +0200 |
commit | 753b8f4aaa78fe1cf8ea033d8cf45e88b5da9d13 (patch) | |
tree | 66ef0fdf8f9152d0740b1f875d80343bac1ae4af /interp/dumpglob.ml | |
parent | 0a829ad04841d0973b22b4407b95f518276b66e7 (diff) |
all coqide specific files moved into ide/
lib/interface split into:
- lib/feedback
subscribe-based feedback bus (also used by coqidetop)
- ide/interface
definition of coqide protocol messages
lib/pp
structured info/err/warn messages
lib/serialize split into:
- lib/serialize
generic xml serialization (list, pairs, int, loc, ...)
used by coqide but potentially useful to other interfaces
- ide/xmlprotocol
serialization of protocol messages as in ide/interface
the only drawback is that coqidetop needs -thread
and I had to pass that option to all files in ide/
Diffstat (limited to 'interp/dumpglob.ml')
-rw-r--r-- | interp/dumpglob.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interp/dumpglob.ml b/interp/dumpglob.ml index 80b5830fd..bf9d2c0b9 100644 --- a/interp/dumpglob.ml +++ b/interp/dumpglob.ml @@ -131,7 +131,7 @@ let interval loc = let dump_ref loc filepath modpath ident ty = if !glob_output = Feedback then - Pp.feedback (Interface.GlobRef (loc, filepath, modpath, ident, ty)) + Pp.feedback (Feedback.GlobRef (loc, filepath, modpath, ident, ty)) else let bl,el = interval loc in dump_string (Printf.sprintf "R%d:%d %s %s %s %s\n" @@ -229,7 +229,7 @@ let dump_binding loc id = () let dump_def ty loc secpath id = if !glob_output = Feedback then - Pp.feedback (Interface.GlobDef (loc, id, secpath, ty)) + Pp.feedback (Feedback.GlobDef (loc, id, secpath, ty)) else let bl,el = interval loc in dump_string (Printf.sprintf "%s %d:%d %s %s\n" ty bl el secpath id) |