diff options
author | Aleksey Kladov <[email protected]> | 2018-07-31 20:29:38 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-07-31 20:29:38 +0100 |
commit | 904a832b7cfc58bcf91ed7a17a5a177f8d36db1c (patch) | |
tree | 108049f427c2fd14e6d6086987b7368ed8d7c616 /src/parser/grammar/mod.rs | |
parent | 8105c14454f8c4f575f16b44ec616ffd045be57f (diff) |
format
Diffstat (limited to 'src/parser/grammar/mod.rs')
-rw-r--r-- | src/parser/grammar/mod.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/parser/grammar/mod.rs b/src/parser/grammar/mod.rs index 53ef28181..69942e7f1 100644 --- a/src/parser/grammar/mod.rs +++ b/src/parser/grammar/mod.rs | |||
@@ -142,7 +142,9 @@ fn fn_value_parameters(p: &mut Parser) { | |||
142 | _ => return, | 142 | _ => return, |
143 | }; | 143 | }; |
144 | let m = p.start(); | 144 | let m = p.start(); |
145 | for _ in 0..n_toks { p.bump(); } | 145 | for _ in 0..n_toks { |
146 | p.bump(); | ||
147 | } | ||
146 | m.complete(p, SELF_PARAM); | 148 | m.complete(p, SELF_PARAM); |
147 | if !p.at(R_PAREN) { | 149 | if !p.at(R_PAREN) { |
148 | p.expect(COMMA); | 150 | p.expect(COMMA); |