aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Letouzey2018-03-09 15:23:17 +0100
committerJason Gross2018-08-31 20:05:53 -0400
commite539db48ab064dc0c10c5ebeb043372c840497c2 (patch)
treec294556540baef7fa0ea1b268891d38ba419dd9a
parent35916e2a3a9ccae1ece8ce64ddf55faa50ac88b6 (diff)
Numeral Notation: minor text improvements suggested by J. Gross
-rw-r--r--doc/sphinx/user-extensions/syntax-extensions.rst2
-rw-r--r--plugins/syntax/g_numeral.ml44
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/sphinx/user-extensions/syntax-extensions.rst b/doc/sphinx/user-extensions/syntax-extensions.rst
index 0293a92fbb..e947fd891b 100644
--- a/doc/sphinx/user-extensions/syntax-extensions.rst
+++ b/doc/sphinx/user-extensions/syntax-extensions.rst
@@ -1376,7 +1376,7 @@ Abbreviations
Numeral notations
-----------------
-Starting with version 8.9, the following command allows to customize
+Starting with version 8.9, the following command allows the user to customize
the way numeral literals are parsed and printed:
.. cmd:: Numeral Notation @ty @pa @pr : @scope.
diff --git a/plugins/syntax/g_numeral.ml4 b/plugins/syntax/g_numeral.ml4
index 9edb7c3351..41d02adbe1 100644
--- a/plugins/syntax/g_numeral.ml4
+++ b/plugins/syntax/g_numeral.ml4
@@ -27,7 +27,7 @@ open Misctypes
that starts with the right constructor, but might be partially
applied.
- At least [c] is known to be evar-free, since it comes for
+ At least [c] is known to be evar-free, since it comes from
our own ad-hoc [constr_of_glob] or from conversions such
as [coqint_of_rawnum].
*)
@@ -65,7 +65,7 @@ let warning_abstract_num ty f =
(** Comparing two raw numbers (base 10, big-endian, non-negative).
A bit nasty, but not critical : only used to decide when a
- nat number is considered as large. *)
+ number is considered as large (see warnings above). *)
exception Comp of int