aboutsummaryrefslogtreecommitdiff
path: root/doc/tools
diff options
context:
space:
mode:
authorPierre Roux2020-09-03 13:23:00 +0200
committerPierre Roux2020-11-05 00:20:19 +0100
commit0520decfdc94d52a2f8658b9cf6a730e6d333f8f (patch)
tree56130ed8dafe578760221bbc6e7d7d835ac4791c /doc/tools
parent9082af80f5bb70ff2b75117f9e5cc3165b1c8b42 (diff)
[numeral notation] Handle implicit arguments
Diffstat (limited to 'doc/tools')
-rw-r--r--doc/tools/docgram/fullGrammar1
-rw-r--r--doc/tools/docgram/orderedGrammar2
2 files changed, 2 insertions, 1 deletions
diff --git a/doc/tools/docgram/fullGrammar b/doc/tools/docgram/fullGrammar
index 17fc220f6c..3a0c3a8bc7 100644
--- a/doc/tools/docgram/fullGrammar
+++ b/doc/tools/docgram/fullGrammar
@@ -2557,6 +2557,7 @@ deprecated_number_modifier: [
number_mapping: [
| reference "=>" reference
+| "[" reference "]" "=>" reference
]
number_via: [
diff --git a/doc/tools/docgram/orderedGrammar b/doc/tools/docgram/orderedGrammar
index 3d1041e592..13d8979208 100644
--- a/doc/tools/docgram/orderedGrammar
+++ b/doc/tools/docgram/orderedGrammar
@@ -1282,7 +1282,7 @@ number_modifier: [
]
number_via: [
-| "via" qualid "mapping" "[" LIST1 ( qualid "=>" qualid ) SEP "," "]"
+| "via" qualid "mapping" "[" LIST1 [ qualid "=>" qualid | "[" qualid "]" "=>" qualid ] SEP "," "]"
]
hints_path: [