mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-11 07:34:32 +00:00
Make RESOLVE(statement) correctly handle any keyword. Fixes #1242.
This commit is contained in:
parent
53814983ff
commit
370b47d23f
1 changed files with 2 additions and 6 deletions
|
@ -173,12 +173,8 @@ RESOLVE(statement)
|
||||||
case parse_keyword_end:
|
case parse_keyword_end:
|
||||||
return NO_PRODUCTION;
|
return NO_PRODUCTION;
|
||||||
|
|
||||||
// 'in' is only special within a for_header
|
// All other keywords fall through to decorated statement
|
||||||
case parse_keyword_in:
|
default:
|
||||||
case parse_keyword_none:
|
|
||||||
case parse_keyword_command:
|
|
||||||
case parse_keyword_builtin:
|
|
||||||
case parse_keyword_case:
|
|
||||||
return 4;
|
return 4;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue