diff options
author | Aleksey Kladov <[email protected]> | 2018-01-08 19:40:14 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-01-08 19:40:14 +0000 |
commit | 0cf2d6afee52fe248c8a032346c5bdb6dc7cd928 (patch) | |
tree | f98f950ada46f596502d8d9987efc67848c46321 /src/parser/event_parser/grammar/items.rs | |
parent | bdddfc9eb89ee717c38a117383a313e5a49bb267 (diff) |
Generalized lookahead
Diffstat (limited to 'src/parser/event_parser/grammar/items.rs')
-rw-r--r-- | src/parser/event_parser/grammar/items.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/event_parser/grammar/items.rs b/src/parser/event_parser/grammar/items.rs index b6d260fd8..68b444b69 100644 --- a/src/parser/event_parser/grammar/items.rs +++ b/src/parser/event_parser/grammar/items.rs | |||
@@ -58,7 +58,7 @@ fn struct_field(p: &mut Parser) -> bool { | |||
58 | 58 | ||
59 | fn fn_item(p: &mut Parser) { | 59 | fn fn_item(p: &mut Parser) { |
60 | p.expect(IDENT) && p.expect(L_PAREN) && p.expect(R_PAREN) | 60 | p.expect(IDENT) && p.expect(L_PAREN) && p.expect(R_PAREN) |
61 | && p.curly_block(|p| ()); | 61 | && p.curly_block(|_| ()); |
62 | } | 62 | } |
63 | 63 | ||
64 | 64 | ||