aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-02-10 11:04:31 +0000
committerAleksey Kladov <[email protected]>2018-02-10 11:04:31 +0000
commit3c9d8ff42357711775c3aeb3af03f528ee779932 (patch)
tree57266f107334bde65ccc0e9902fb7cffdec6990e /src
parentfc0a9e266b9d663b1eeca3963495c68ca3384be2 (diff)
G: names for fns
Diffstat (limited to 'src')
-rw-r--r--src/parser/grammar/items/mod.rs2
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 {