| Age | Commit message (Collapse) | Author |
|
|
|
|
|
Tactic Notation "f" constr(x) := apply x. Ltac g x := f x.
Goal False.
g I. (* Was printing Top.Top#<>#1 *)
idtac; f I. (* Was not properly locating error *)
This is a "a minima" fix.
This a different fix than in trunk, so the merge will have to take the
trunk version.
|
|
An Ltac trace printing mechanism was introduced in 8.4 which was
inadvertedly modified by a series of commits such as 8e10368c3,
91f44f1da7a, ...
It was also sometimes buggy, iirc, when entering ML tactics which
themselves were calling ltac code.
It got really bad in 8.5 as in:
Tactic Notation "f" constr(x) := apply x. Ltac g x := f x.
Goal False.
idtac; f I. (* bad location reporting *)
g I. (* was referring to tactic name "Top.Top#<>#1" *)
which this commit fixes.
I don't have a clear idea of what would be the best ltac tracing
mechanism, but to avoid it to be broken without being noticed, I
started to add some tests.
Eventually, it might be worth that an Ltac expert brainstrom on it!
|
|
|
|
|
|
Note that this breaks the compatibility, in a beneficial way I believe. Tactics
defined in strict mode (i.e. through Ltac foo := ...) may not do an introduction
on a local identifier anymore. They must use the "fresh" primitive instead.
|
|
|
|
This makes the core free from particular protocol choices.
It should help with the ppx serialization project and shrinks clib.cma a
bit.
|
|
|
|
This patch splits pretty printing representation from IO operations.
- `Pp` is kept in charge of the abstract pretty printing representation.
- The `Feedback` module provides interface for doing printing IO.
The patch continues work initiated for 8.5 and has the following effects:
- The following functions in `Pp`: `pp`, `ppnl`, `pperr`, `pperrnl`,
`pperr_flush`, `pp_flush`, `flush_all`, `msg`, `msgnl`, `msgerr`,
`msgerrnl`, `message` are removed. `Feedback.msg_*` functions must be
used instead.
- Feedback provides different backends to handle output, currently,
`stdout`, `emacs` and CoqIDE backends are provided.
- Clients cannot specify flush policy anymore, thus `pp_flush` et al are
gone.
- `Feedback.feedback` takes an `edit_or_state_id` instead of the old
mix.
Lightly tested: Test-suite passes, Proof General and CoqIDE seem to work.
|
|
Return the most appropriate evar_map for commands that can run on
non-focused proofs (like Check, Show and debug printers) so that
universes and existentials are printed correctly (they are global
to the proof). The API is backwards compatible.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This reverts commit dbe29599c2e9bf49368c7a92fe00259aa9cbbe15.
|
|
This reverts commit 9e9620b99f68622ebaf44c43e9945580f6cc6d98.
|
|
This reverts commit bde36d4b00185065628324d8ca71994f84eae244.
|
|
This reverts commit 9e038688af8f7f054c1c2acdb2fe65d78cccdd81.
|
|
This reverts commit c4ce1baa9f66210ebc1909988b3dd8baa1b8ef27.
|
|
This reverts commit 6f3dc50176fff8b731dcdaf47194f0e3ff21db0c.
|
|
This reverts commit 691dc7d88c6810333eecef7c2f0b8d8617d19ab1.
|
|
This reverts commit 9b1b5de7a70c54ba3d60560d3d097f3eee2ca907.
|
|
This reverts commit 6da8866a4fd79029b22bd1bf7cde6725a9ea259c.
|
|
This reverts commit d408e09e5366899f4313f433cc9507ea92458c49.
|
|
This reverts commit e9abd74adc486c1c1793754fdf83a33fe7b1b34c.
|
|
This reverts commit 0d56fda01ecf8b38ef5f9a1fd3552f025972fbcd.
|
|
This reverts commit fd8669f9f2e37607f5eba56ba25e267711876e62.
|
|
This reverts commit 92cbd4ed5f9679e46da16e83a2f920449c699a4e.
|
|
This reverts commit c90d538c8763cb90fab6071cf00236f00b3c33a2.
|
|
This reverts commit 094ed756fcef1ac5118dc5134a7369252efec933.
|
|
This reverts commit d91a1aa62edad53b41fbb7cb6f6a841f03ebcde4.
|
|
This reverts commit cbb917476e3920641352c108ec9ffaf6d1682217.
|
|
This reverts commit e11620ce155529c0e577304427f9b05d38e73caf.
|
|
This reverts commit 91ce24b97ee5a8ee67ac11153ab10577c11bc9fc.
|
|
pr_lconstr."
This reverts commit ee882d4cf6e7d84dc4589535042bbefdec56a288.
|
|
This reverts commit d82c87e40a85be184ede1f9a2fde04dd8f48bb74.
|
|
definition."
This reverts commit 5598db7882f111b1fe3aa22936679e06b7a2f673.
|
|
This reverts commit 84d8a4bd7d797b6e13e4107ad24a6dcf4f098dbb.
|
|
This reverts commit 8c74d3e5578caeb5c62ba462528d9972c1de17f1.
|