aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2021-04-08 14:33:15 +0200
committerPierre-Marie Pédrot2021-04-08 14:38:21 +0200
commit45e064836ec1f50300198f89c099b71d0e2059b9 (patch)
tree49041af55c57dde037826c64029eec71783d8fe2 /doc/sphinx
parent2b8d8b996b7ae9b5c170792cbf45c4fd96ed3658 (diff)
Register Ltac2 grammar entry as "ltac2" for the Print Grammar vernacular.
Fixes #14092: Print Grammar ltac2 should exist.
Diffstat (limited to 'doc/sphinx')
-rw-r--r--doc/sphinx/user-extensions/syntax-extensions.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/sphinx/user-extensions/syntax-extensions.rst b/doc/sphinx/user-extensions/syntax-extensions.rst
index 453e878a5d..d212256765 100644
--- a/doc/sphinx/user-extensions/syntax-extensions.rst
+++ b/doc/sphinx/user-extensions/syntax-extensions.rst
@@ -467,6 +467,7 @@ Displaying information about notations
- `tactic` - for currently-defined tactic notations, :token:`tactic`\s and tacticals
(corresponding to :token:`ltac_expr` in the documentation).
- `vernac` - for :token:`command`\s
+ - `ltac2` - for Ltac2 notations (corresponding to :token:`ltac2_expr`)
This command doesn't display all nonterminals of the grammar. For example,
productions shown by `Print Grammar tactic` refer to nonterminals `tactic_then_locality`