aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPierre Roux2020-09-04 15:02:00 +0200
committerPierre Roux2020-09-11 22:17:09 +0200
commitb4d11894fd676ec53e4fdf860d32173a778242c5 (patch)
tree829bde4d8354149afa1eed09bc73bd905f88e39f /doc
parent35a84b3077c219fb5f11c580a5ec405a889c0a4b (diff)
[parsing] Rename token NUMERAL to NUMBER
Diffstat (limited to 'doc')
-rw-r--r--doc/tools/docgram/common.edit_mlg8
-rw-r--r--doc/tools/docgram/fullGrammar10
2 files changed, 9 insertions, 9 deletions
diff --git a/doc/tools/docgram/common.edit_mlg b/doc/tools/docgram/common.edit_mlg
index 9971a03894..a619089cdd 100644
--- a/doc/tools/docgram/common.edit_mlg
+++ b/doc/tools/docgram/common.edit_mlg
@@ -300,7 +300,7 @@ term_let: [
atomic_constr: [
| MOVETO qualid_annotated global univ_instance
-| MOVETO primitive_notations NUMERAL
+| MOVETO primitive_notations NUMBER
| MOVETO primitive_notations string
| MOVETO term_evar "_"
| REPLACE "?" "[" ident "]"
@@ -780,7 +780,7 @@ numeral: [
]
bigint: [
-| DELETE NUMERAL
+| DELETE NUMBER
| num
]
@@ -797,7 +797,7 @@ ident: [
| first_letter LIST0 subsequent_letter
]
-NUMERAL: [
+NUMBER: [
| numeral
]
@@ -2210,7 +2210,7 @@ SPLICE: [
| IDENT
| LEFTQMARK
| natural
-| NUMERAL
+| NUMBER
| STRING
| hyp
| var
diff --git a/doc/tools/docgram/fullGrammar b/doc/tools/docgram/fullGrammar
index f628c86cf1..f82f196b36 100644
--- a/doc/tools/docgram/fullGrammar
+++ b/doc/tools/docgram/fullGrammar
@@ -162,7 +162,7 @@ appl_arg: [
atomic_constr: [
| global univ_instance
| sort
-| NUMERAL
+| NUMBER
| string
| "_"
| "?" "[" ident "]"
@@ -283,7 +283,7 @@ pattern0: [
| "_"
| "(" pattern200 ")"
| "(" pattern200 "|" LIST1 pattern200 SEP "|" ")"
-| NUMERAL
+| NUMBER
| string
]
@@ -440,12 +440,12 @@ natural: [
]
bigint: [
-| NUMERAL
-| test_minus_nat "-" NUMERAL
+| NUMBER
+| test_minus_nat "-" NUMBER
]
bignat: [
-| NUMERAL
+| NUMBER
]
bar_cbrace: [