]> matita.cs.unibo.it Git - helm.git/commit - helm/matita/matita.ml
Bug fixed: macros in the middle of a goto cursor or goto end-of-script were
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Sun, 8 Jan 2006 18:45:58 +0000 (18:45 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Sun, 8 Jan 2006 18:45:58 +0000 (18:45 +0000)
commite66e67d2f9f2772d63a7457e386f9616f62a2f39
tree9ed533e87c8cd70680b85ab6002009606381d66d
parentaa0d60227b785da3355b31519ba11cb4fbd2c925
Bug fixed: macros in the middle of a goto cursor or goto end-of-script were
not executed.

Explanation: the current goal was set only externally, but it is used by
macro disambiguation.

To fix the bug I have finally changed the type of a "lazy_macro" so that its
input is now a context. it used to be an integer, the selected goal; however,
the integer does not make sense since a macro can be invoked also when there is
no current proof.
helm/matita/matita.ml
helm/matita/matitaEngine.ml
helm/matita/matitaScript.ml
helm/matita/matitaScript.mli
helm/ocaml/grafite_engine/grafiteEngine.ml
helm/ocaml/grafite_engine/grafiteEngine.mli