aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPierre Roux2020-09-04 15:06:00 +0200
committerPierre Roux2020-09-11 22:17:09 +0200
commitf61d7d1139bd5f9e0efd34460e8daf68e454e46b (patch)
treea7945d1e0370b0bd846d14e951ee35af8936a912 /doc
parentb4d11894fd676ec53e4fdf860d32173a778242c5 (diff)
[parsing] Simplify bigint
Diffstat (limited to 'doc')
-rw-r--r--doc/tools/docgram/common.edit_mlg5
-rw-r--r--doc/tools/docgram/fullGrammar4
2 files changed, 5 insertions, 4 deletions
diff --git a/doc/tools/docgram/common.edit_mlg b/doc/tools/docgram/common.edit_mlg
index a619089cdd..549ace5d13 100644
--- a/doc/tools/docgram/common.edit_mlg
+++ b/doc/tools/docgram/common.edit_mlg
@@ -780,8 +780,9 @@ numeral: [
]
bigint: [
-| DELETE NUMBER
-| num
+| DELETE bignat
+| REPLACE test_minus_nat "-" bignat
+| WITH OPT "-" bignat
]
first_letter: [
diff --git a/doc/tools/docgram/fullGrammar b/doc/tools/docgram/fullGrammar
index f82f196b36..73b721702e 100644
--- a/doc/tools/docgram/fullGrammar
+++ b/doc/tools/docgram/fullGrammar
@@ -440,8 +440,8 @@ natural: [
]
bigint: [
-| NUMBER
-| test_minus_nat "-" NUMBER
+| bignat
+| test_minus_nat "-" bignat
]
bignat: [