aboutsummaryrefslogtreecommitdiff
path: root/doc/tools/docgram/orderedGrammar
diff options
context:
space:
mode:
authorPierre Roux2020-09-07 12:07:23 +0200
committerPierre Roux2020-09-11 22:20:28 +0200
commit031cc2ba1a19a06766df85b8693c72f16fa62de6 (patch)
tree96c01f0cd771b7f3968b3ae2d62718960a63f3d2 /doc/tools/docgram/orderedGrammar
parent724966f56caa66a5ddc9a992cf870ebc2efae004 (diff)
[refman] Explicit integer and natural
As respectively bigint and bignat that fit into an OCaml int.
Diffstat (limited to 'doc/tools/docgram/orderedGrammar')
-rw-r--r--doc/tools/docgram/orderedGrammar12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/tools/docgram/orderedGrammar b/doc/tools/docgram/orderedGrammar
index 105bd4668e..8d4e0189e6 100644
--- a/doc/tools/docgram/orderedGrammar
+++ b/doc/tools/docgram/orderedGrammar
@@ -139,6 +139,14 @@ integer: [
]
natural: [
+| bignat
+]
+
+bigint: [
+| OPT "-" bignat
+]
+
+bignat: [
| [ decnat | hexnat ]
]
@@ -1291,8 +1299,8 @@ field_mod: [
]
numeral_modifier: [
-| "(" "warning" "after" number ")"
-| "(" "abstract" "after" number ")"
+| "(" "warning" "after" bignat ")"
+| "(" "abstract" "after" bignat ")"
]
hints_path: [