aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx
diff options
context:
space:
mode:
Diffstat (limited to 'doc/sphinx')
-rw-r--r--doc/sphinx/language/gallina-extensions.rst2
-rw-r--r--doc/sphinx/language/gallina-specification-language.rst6
2 files changed, 3 insertions, 5 deletions
diff --git a/doc/sphinx/language/gallina-extensions.rst b/doc/sphinx/language/gallina-extensions.rst
index 2abf6d02d2..8fcbeea570 100644
--- a/doc/sphinx/language/gallina-extensions.rst
+++ b/doc/sphinx/language/gallina-extensions.rst
@@ -996,7 +996,7 @@ are now available through the dot notation.
Including multiple modules is a single :cmd:`Include` is equivalent to including each module
in a separate :cmd:`Include` command.
-.. cmd:: Include Type @module_type_inl {* <+ @module_type_inl }
+.. cmd:: Include Type {+<+ @module_type_inl }
.. deprecated:: 8.3
diff --git a/doc/sphinx/language/gallina-specification-language.rst b/doc/sphinx/language/gallina-specification-language.rst
index 12a9a30f3d..fe359a23a9 100644
--- a/doc/sphinx/language/gallina-specification-language.rst
+++ b/doc/sphinx/language/gallina-specification-language.rst
@@ -1533,10 +1533,8 @@ Computations
| delta {? @delta_flag }
ref_or_pattern_occ ::= @smart_qualid {? at @occs_nums }
| @one_term {? at @occs_nums }
- occs_nums ::= {+ @num_or_var }
- | - @num_or_var {* @int_or_var }
- num_or_var ::= @num
- | @ident
+ occs_nums ::= {+ {| @num | @ident } }
+ | - {| @num | @ident } {* @int_or_var }
int_or_var ::= @int
| @ident
unfold_occ ::= @smart_qualid {? at @occs_nums }