diff options
Diffstat (limited to 'crates/libsyntax2/src/grammar.ron')
-rw-r--r-- | crates/libsyntax2/src/grammar.ron | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/crates/libsyntax2/src/grammar.ron b/crates/libsyntax2/src/grammar.ron index 06a4eb6a7..650f72212 100644 --- a/crates/libsyntax2/src/grammar.ron +++ b/crates/libsyntax2/src/grammar.ron | |||
@@ -213,21 +213,17 @@ Grammar( | |||
213 | "SELF_PARAM", | 213 | "SELF_PARAM", |
214 | "ARG_LIST", | 214 | "ARG_LIST", |
215 | ], | 215 | ], |
216 | ast: [ | 216 | ast: { |
217 | ( | 217 | "File": ( |
218 | kind: "FILE", | ||
219 | collections: [ | 218 | collections: [ |
220 | ["functions", "FUNCTION"] | 219 | ["functions", "Function"] |
221 | ] | 220 | ] |
222 | ), | 221 | ), |
223 | ( | 222 | "Function": ( |
224 | kind: "FUNCTION", | ||
225 | options: [ | 223 | options: [ |
226 | ["name", "NAME"] | 224 | ["name", "Name"] |
227 | ] | 225 | ] |
228 | ), | 226 | ), |
229 | ( | 227 | "Name": (), |
230 | kind: "NAME" | 228 | }, |
231 | ), | ||
232 | ] | ||
233 | ) | 229 | ) |