Case is to when is

This commit is contained in:
Chad Stearns 2019-12-23 17:17:04 -05:00
parent 9a5b6a03b4
commit 62a004c103
9 changed files with 29 additions and 29 deletions

View file

@ -1139,7 +1139,7 @@ pub fn colon_with_indent<'a>() -> impl Parser<'a, u16> {
pub fn case_with_indent<'a>() -> impl Parser<'a, u16> {
move |arena, state: State<'a>| {
string(keyword::CASE)
string(keyword::WHEN)
.parse(arena, state)
.map(|((), state)| (state.indent_col, state))
}