diff options
author | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2012-11-12 13:55:31 +0000 |
---|---|---|
committer | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2012-11-12 13:55:31 +0000 |
commit | 8a0d8cfd776650ff08235209792bf32ff55960f4 (patch) | |
tree | 24ee08512f59943976a7197e895f7f1d69d46b4a /tools | |
parent | d7f0d75164c4d48b5dc3a6773a8c25b58ca8db4d (diff) |
Xml_parser: detect immediate EOF + disable check_eof by default
Without this immediate EOF detection, coqtop -ideslave loops
when its input channel is closed.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15959 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tools')
-rw-r--r-- | tools/fake_ide.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fake_ide.ml b/tools/fake_ide.ml index 5fafe2991..8580bec01 100644 --- a/tools/fake_ide.ml +++ b/tools/fake_ide.ml @@ -87,7 +87,7 @@ let main = let coqtop = let (cin, cout) = Unix.open_process (coqtop_name^" -ideslave") in let p = Xml_parser.make (Xml_parser.SChannel cin) in - let () = Xml_parser.check_eof p false in { + { in_chan = cin; out_chan = cout; xml_parser = p; |