aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorEnrico Tassi2015-03-26 10:45:38 +0100
committerEnrico Tassi2015-03-26 10:45:38 +0100
commit2ef5fa7910e644d7eb39ee01024878a67086bd42 (patch)
treeb644a5435d31a1440e2b7c62c47f4aed14dbfe68 /kernel
parent1bafb18f64ab1c929abfaf9c1b75f691914d9a46 (diff)
STM: change how proof mode switching commands are handled (decl_mode)
This is likely to make nested proofs containing proof modes switch broken, but fixes the problems Arnaud has in his branch. It is possible that the classification function we have today is not fine grained enough. If a command that changes the proof mode has as the only global effect changing the proof mode, then the current code is fine. If it has a more global effect that persists after the proof is over but has no impact on the proof itself, then the old code is fine. As far as I can get, the proof mode switching commands have a global effect (changing parser) but also a proof effect (un/focusing). We don't have a classification for these. Today a command having a global effect is played twice: on the proof branch an on master. Of course if such command cannot work on master (where there is no finished proof for example) we need a special treatment for it.
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions