aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2021-01-18 13:02:37 +0100
committerPierre-Marie Pédrot2021-01-18 13:02:37 +0100
commit5b08cdcd4bde7fdcd21f7a0f0912f0021847294b (patch)
treef5358388ee4eee0a7b49f9b0de505940cdc33f46 /doc/sphinx
parent3efb7a44dee255cd8f6cbd8c80e3c48c601104ed (diff)
parent2a5e88b967f648887219e80aaf694395f1f15c1c (diff)
Merge PR #13574: Simplistic patch to fix #10113: turn Ltac2's `pattern:` into `pat:`
Ack-by: Zimmi48 Reviewed-by: jfehrle Reviewed-by: ppedrot
Diffstat (limited to 'doc/sphinx')
-rw-r--r--doc/sphinx/proof-engine/ltac2.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/sphinx/proof-engine/ltac2.rst b/doc/sphinx/proof-engine/ltac2.rst
index 3646a32a79..1bb4216e4f 100644
--- a/doc/sphinx/proof-engine/ltac2.rst
+++ b/doc/sphinx/proof-engine/ltac2.rst
@@ -554,7 +554,7 @@ Built-in quotations
ltac2_quotations ::= ident : ( @lident )
| constr : ( @term )
| open_constr : ( @term )
- | pattern : ( @cpattern )
+ | pat : ( @cpattern )
| reference : ( {| & @ident | @qualid } )
| ltac1 : ( @ltac1_expr_in_env )
| ltac1val : ( @ltac1_expr_in_env )
@@ -568,7 +568,7 @@ The current implementation recognizes the following built-in quotations:
(type ``Init.constr``).
- ``open_constr``, which parses Coq terms and produces a term potentially with
holes at runtime (type ``Init.constr`` as well).
-- ``pattern``, which parses Coq patterns and produces a pattern used for term
+- ``pat``, which parses Coq patterns and produces a pattern used for term
matching (type ``Init.pattern``).
- ``reference`` Qualified names
are globalized at internalization into the corresponding global reference,