Skip to content

Commit 2b05263

Browse files
committed
verify-grammar keyword crate
When calling make verify-grammar or when llnextgen is not installed: python2.7 src/etc/extract_grammar.py <src/doc/rust.md an error is reported by extract_grammar.py that the keyword "crate" is not defined. This patch adds the keyword "crate" to the grammar in rust.md. Signed-off-by: Jan Kobler <[email protected]>
1 parent e91115f commit 2b05263

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/doc/rust.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ The keywords are the following strings:
205205
~~~~ {.notrust .keyword}
206206
as
207207
break
208+
crate
208209
do
209210
else enum extern
210211
false fn for

0 commit comments

Comments
 (0)