diff options
| author | letouzey | 2011-03-30 07:19:03 +0000 |
|---|---|---|
| committer | letouzey | 2011-03-30 07:19:03 +0000 |
| commit | 2d02a3e185bf534f54ca173cc13ec2118b9e7e60 (patch) | |
| tree | 09df481a4c6dc44329582a2682506fb2ac8c35a8 /plugins/xml | |
| parent | b0a4c8c912632e4d4062d68638b2b38312afaceb (diff) | |
Coqide: avoid confusion of process when restarting coqtop + cosmetic
When using "Goto start" while many phrases are evaluated,
it's frequent with earlier code that the restart occurs
between two phrases, and hence the second is sent to the new
coqtop, triggering things like "Anomaly: NoCurrentProof".
To avoid that, Coq.coqtop is now immutable (no silent switch
of channels). In Coqide, toplvl and mycoqtop are now references,
that are updated when using reset_coqtop.
We organize things in order to have only one access to mycoqtop
during code that does many sequential calls to coqtop. This way,
when coqtop changes, the code speaks to the old one, and gets
some exception when writing/reading on a close channel.
By the way, some documentation, cleanup, etc etc
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13942 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'plugins/xml')
0 files changed, 0 insertions, 0 deletions
