diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-02-11 09:58:32 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-02-11 09:58:32 +0000 |
commit | 7176029803fe2e00f29ab7d20a384e3ee6f53ba3 (patch) | |
tree | 51e7251231162d5d31b6e18fabdbb466ffb94d19 /src/parser/grammar/items/consts.rs | |
parent | e19d038a0e1d9af8270450c5fe8fbbdf0f15cb24 (diff) | |
parent | 96437b050f2743fef2e37eaab7259f2f98f9b473 (diff) |
Merge #48
48: Types r=matklad a=matklad
bors r+
Diffstat (limited to 'src/parser/grammar/items/consts.rs')
-rw-r--r-- | src/parser/grammar/items/consts.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/grammar/items/consts.rs b/src/parser/grammar/items/consts.rs index 5f3cf58c2..d6c3753b3 100644 --- a/src/parser/grammar/items/consts.rs +++ b/src/parser/grammar/items/consts.rs | |||
@@ -14,7 +14,7 @@ fn const_or_static(p: &mut Parser, kw: SyntaxKind) { | |||
14 | p.eat(MUT_KW); // TODO: validator to forbid const mut | 14 | p.eat(MUT_KW); // TODO: validator to forbid const mut |
15 | name(p); | 15 | name(p); |
16 | p.expect(COLON); | 16 | p.expect(COLON); |
17 | types::ty(p); | 17 | types::type_(p); |
18 | p.expect(EQ); | 18 | p.expect(EQ); |
19 | expressions::expr(p); | 19 | expressions::expr(p); |
20 | p.expect(SEMI); | 20 | p.expect(SEMI); |