diff options
author | Aleksey Kladov <[email protected]> | 2020-08-13 16:58:35 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-08-13 16:59:27 +0100 |
commit | 6bc2633c90cedad057c5201d1ab7f67b57247004 (patch) | |
tree | 4293492e643f9a604c5f30e051289bcea182694c /crates/parser/src/grammar/items/consts.rs | |
parent | 1b0c7701cc97cd7bef8bb9729011d4cf291a60c5 (diff) |
Align parser names with grammar
Diffstat (limited to 'crates/parser/src/grammar/items/consts.rs')
-rw-r--r-- | crates/parser/src/grammar/items/consts.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/parser/src/grammar/items/consts.rs b/crates/parser/src/grammar/items/consts.rs index 35ad766dc..eb7d1f828 100644 --- a/crates/parser/src/grammar/items/consts.rs +++ b/crates/parser/src/grammar/items/consts.rs | |||
@@ -2,11 +2,11 @@ | |||
2 | 2 | ||
3 | use super::*; | 3 | use super::*; |
4 | 4 | ||
5 | pub(super) fn static_def(p: &mut Parser, m: Marker) { | 5 | pub(super) fn static_(p: &mut Parser, m: Marker) { |
6 | const_or_static(p, m, T![static], STATIC) | 6 | const_or_static(p, m, T![static], STATIC) |
7 | } | 7 | } |
8 | 8 | ||
9 | pub(super) fn const_def(p: &mut Parser, m: Marker) { | 9 | pub(super) fn konst(p: &mut Parser, m: Marker) { |
10 | const_or_static(p, m, T![const], CONST) | 10 | const_or_static(p, m, T![const], CONST) |
11 | } | 11 | } |
12 | 12 | ||