diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/parser/grammar/items/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/grammar/items/mod.rs b/src/parser/grammar/items/mod.rs index d671568b1..61ebc740f 100644 --- a/src/parser/grammar/items/mod.rs +++ b/src/parser/grammar/items/mod.rs | |||
@@ -211,7 +211,7 @@ fn fn_item(p: &mut Parser) { | |||
211 | assert!(p.at(FN_KW)); | 211 | assert!(p.at(FN_KW)); |
212 | p.bump(); | 212 | p.bump(); |
213 | 213 | ||
214 | p.expect(IDENT); | 214 | name(p); |
215 | if p.at(L_PAREN) { | 215 | if p.at(L_PAREN) { |
216 | fn_value_parameters(p); | 216 | fn_value_parameters(p); |
217 | } else { | 217 | } else { |