diff options
| author | Pierre-Marie Pédrot | 2021-03-13 14:42:36 +0100 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2021-03-13 14:44:51 +0100 |
| commit | 650461653aa1d4bc47509f0a2c49c3a235fb6381 (patch) | |
| tree | 29fa3762524ac5c1846392fe5a25ace73c787250 | |
| parent | 754dc0848ac5c48fc92363a6c2acc7f6ada76e32 (diff) | |
Documenting the changes.
| -rw-r--r-- | doc/changelog/05-tactic-language/13939-ltac2-open-constr-scope.rst | 5 | ||||
| -rw-r--r-- | doc/sphinx/proof-engine/ltac2.rst | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/doc/changelog/05-tactic-language/13939-ltac2-open-constr-scope.rst b/doc/changelog/05-tactic-language/13939-ltac2-open-constr-scope.rst new file mode 100644 index 0000000000..9753ce915b --- /dev/null +++ b/doc/changelog/05-tactic-language/13939-ltac2-open-constr-scope.rst @@ -0,0 +1,5 @@ +- **Added:** + Allow scope delimiters in Ltac2 open_constr:(...) quotation + (`#13939 <https://github.com/coq/coq/pull/13939>`_, + fixes `#12806 <https://github.com/coq/coq/issues/12806>`_, + by Pierre-Marie Pédrot). diff --git a/doc/sphinx/proof-engine/ltac2.rst b/doc/sphinx/proof-engine/ltac2.rst index 9f3f0ef3d5..59f8d6b09c 100644 --- a/doc/sphinx/proof-engine/ltac2.rst +++ b/doc/sphinx/proof-engine/ltac2.rst @@ -1368,8 +1368,9 @@ table further down lists the classes that that are handled plainly. the term (as described in :ref:`LocalInterpretationRulesForNotations`). The last :token:`scope_key` is the top of the scope stack that's applied to the :token:`term`. - :n:`open_constr` - Parses an open :token:`term`. + :n:`open_constr {? ( {+, @scope_key } ) }` + Parses an open :token:`term`. Like :n:`constr` above, this class + accepts a list of notation scopes with the same effects. :n:`ident` Parses :token:`ident` or :n:`$@ident`. The first form returns :n:`ident:(@ident)`, |
