diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/grammar.ron | 2 | ||||
-rw-r--r-- | src/parser/grammar/params.rs | 2 | ||||
-rw-r--r-- | src/syntax_kinds/generated.rs | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/grammar.ron b/src/grammar.ron index 24f11f63e..a9a3847c9 100644 --- a/src/grammar.ron +++ b/src/grammar.ron | |||
@@ -165,7 +165,7 @@ Grammar( | |||
165 | "ASSOC_TYPE_ARG", | 165 | "ASSOC_TYPE_ARG", |
166 | 166 | ||
167 | "PARAM_LIST", | 167 | "PARAM_LIST", |
168 | "VALUE_PARAMETER", | 168 | "PARAM", |
169 | "SELF_PARAM", | 169 | "SELF_PARAM", |
170 | "ARG_LIST", | 170 | "ARG_LIST", |
171 | ] | 171 | ] |
diff --git a/src/parser/grammar/params.rs b/src/parser/grammar/params.rs index 1ef2cea88..99fedfc21 100644 --- a/src/parser/grammar/params.rs +++ b/src/parser/grammar/params.rs | |||
@@ -37,7 +37,7 @@ fn value_parameter(p: &mut Parser, require_type: bool) { | |||
37 | if p.at(COLON) || require_type { | 37 | if p.at(COLON) || require_type { |
38 | types::ascription(p) | 38 | types::ascription(p) |
39 | } | 39 | } |
40 | m.complete(p, VALUE_PARAMETER); | 40 | m.complete(p, PARAM); |
41 | } | 41 | } |
42 | 42 | ||
43 | // test self_param | 43 | // test self_param |
diff --git a/src/syntax_kinds/generated.rs b/src/syntax_kinds/generated.rs index 93a3250a4..2f7c29008 100644 --- a/src/syntax_kinds/generated.rs +++ b/src/syntax_kinds/generated.rs | |||
@@ -152,7 +152,7 @@ pub enum SyntaxKind { | |||
152 | TYPE_ARG, | 152 | TYPE_ARG, |
153 | ASSOC_TYPE_ARG, | 153 | ASSOC_TYPE_ARG, |
154 | PARAM_LIST, | 154 | PARAM_LIST, |
155 | VALUE_PARAMETER, | 155 | PARAM, |
156 | SELF_PARAM, | 156 | SELF_PARAM, |
157 | ARG_LIST, | 157 | ARG_LIST, |
158 | // Technical SyntaxKinds: they appear temporally during parsing, | 158 | // Technical SyntaxKinds: they appear temporally during parsing, |
@@ -314,7 +314,7 @@ impl SyntaxKind { | |||
314 | TYPE_ARG => &SyntaxInfo { name: "TYPE_ARG" }, | 314 | TYPE_ARG => &SyntaxInfo { name: "TYPE_ARG" }, |
315 | ASSOC_TYPE_ARG => &SyntaxInfo { name: "ASSOC_TYPE_ARG" }, | 315 | ASSOC_TYPE_ARG => &SyntaxInfo { name: "ASSOC_TYPE_ARG" }, |
316 | PARAM_LIST => &SyntaxInfo { name: "PARAM_LIST" }, | 316 | PARAM_LIST => &SyntaxInfo { name: "PARAM_LIST" }, |
317 | VALUE_PARAMETER => &SyntaxInfo { name: "VALUE_PARAMETER" }, | 317 | PARAM => &SyntaxInfo { name: "PARAM" }, |
318 | SELF_PARAM => &SyntaxInfo { name: "SELF_PARAM" }, | 318 | SELF_PARAM => &SyntaxInfo { name: "SELF_PARAM" }, |
319 | ARG_LIST => &SyntaxInfo { name: "ARG_LIST" }, | 319 | ARG_LIST => &SyntaxInfo { name: "ARG_LIST" }, |
320 | TOMBSTONE => &SyntaxInfo { name: "TOMBSTONE" }, | 320 | TOMBSTONE => &SyntaxInfo { name: "TOMBSTONE" }, |