aboutsummaryrefslogtreecommitdiff
path: root/doc/tools/docgram/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tools/docgram/README.md')
-rw-r--r--doc/tools/docgram/README.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/tools/docgram/README.md b/doc/tools/docgram/README.md
index a0a1809133..182532e413 100644
--- a/doc/tools/docgram/README.md
+++ b/doc/tools/docgram/README.md
@@ -194,14 +194,15 @@ to the grammar.
### `.rst` file updates
-`doc_grammar` updates `.rst` files when it sees the following 3 lines
+`doc_grammar` updates `.rst` files where it sees the following 3 lines
```
-.. insertgram <start> <end>
-.. productionlist:: XXX
+.. insertprodn <start> <end>
+
+.. prodn::
```
-The end of the existing `productionlist` is recognized by a blank line.
+The end of the existing `prodn` is recognized by a blank line.
### Other details