aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2021-01-10 15:51:14 +0100
committerPierre-Marie Pédrot2021-01-10 15:51:14 +0100
commitffb482f0c18bff2c65dcc9cd2b65bd20b398245d (patch)
tree5c5678f7d9a9eee97b5a558f570448a4cbfb5b1e /doc/sphinx
parent723440611965ccdecfd56e61c8f1f8618a08841d (diff)
parent70b18cd58243c99b13eefbd9c593b0f3929c742c (diff)
Merge PR #13469: Use nat_or_var for fail/gfail
Ack-by: Zimmi48 Reviewed-by: ppedrot
Diffstat (limited to 'doc/sphinx')
-rw-r--r--doc/sphinx/proof-engine/ltac.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/sphinx/proof-engine/ltac.rst b/doc/sphinx/proof-engine/ltac.rst
index 8b627c29a4..013ff0a83f 100644
--- a/doc/sphinx/proof-engine/ltac.rst
+++ b/doc/sphinx/proof-engine/ltac.rst
@@ -879,7 +879,7 @@ Print/identity tactic: idtac
Failing
~~~~~~~
-.. tacn:: {| fail | gfail } {? @int_or_var } {* {| @ident | @string | @natural } }
+.. tacn:: {| fail | gfail } {? @nat_or_var } {* {| @ident | @string | @natural } }
:name: fail; gfail
:tacn:`fail` is the always-failing tactic: it does not solve any
@@ -900,7 +900,7 @@ Failing
tactic into the goals, meaning that if there are no goals when it is
evaluated, a tactic call like :tacn:`let` :n:`x := H in` :tacn:`fail` `0 x` will succeed.
- :n:`@int_or_var`
+ :n:`@nat_or_var`
The failure level. If no level is specified, it defaults to 0.
The level is used by :tacn:`try`, :tacn:`repeat`, :tacn:`match goal` and the branching
tacticals. If 0, it makes :tacn:`match goal` consider the next clause