Skip to content

Commit 723772f

Browse files
committed
Add _ to the list of keywords
also, make sure the keyword table is correctly spaced
1 parent 78d8416 commit 723772f

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/doc/grammar.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -154,19 +154,19 @@ token : simple_token | ident | literal | symbol | whitespace token ;
154154

155155
<p id="keyword-table-marker"></p>
156156

157-
| | | | | |
158-
|----------|----------|----------|----------|---------|
159-
| abstract | alignof | as | become | box |
160-
| break | const | continue | crate | do |
161-
| else | enum | extern | false | final |
162-
| fn | for | if | impl | in |
163-
| let | loop | macro | match | mod |
164-
| move | mut | offsetof | override | priv |
165-
| proc | pub | pure | ref | return |
166-
| Self | self | sizeof | static | struct |
167-
| super | trait | true | type | typeof |
168-
| unsafe | unsized | use | virtual | where |
169-
| while | yield | | | |
157+
| | | | | |
158+
|----------|----------|----------|----------|----------|
159+
| _ | abstract | alignof | as | become |
160+
| box | break | const | continue | crate |
161+
| do | else | enum | extern | false |
162+
| final | fn | for | if | impl |
163+
| in | let | loop | macro | match |
164+
| mod | move | mut | offsetof | override |
165+
| priv | proc | pub | pure | ref |
166+
| return | Self | self | sizeof | static |
167+
| struct | super | trait | true | type |
168+
| typeof | unsafe | unsized | use | virtual |
169+
| where | while | yield | | |
170170

171171

172172
Each of these keywords has special meaning in its grammar, and all of them are

0 commit comments

Comments
 (0)