mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 08:10:24 +08:00
Make RESOLVE(statement) correctly handle any keyword. Fixes #1242.
This commit is contained in:
parent
53814983ff
commit
370b47d23f
@ -173,12 +173,8 @@ RESOLVE(statement)
|
||||
case parse_keyword_end:
|
||||
return NO_PRODUCTION;
|
||||
|
||||
// 'in' is only special within a for_header
|
||||
case parse_keyword_in:
|
||||
case parse_keyword_none:
|
||||
case parse_keyword_command:
|
||||
case parse_keyword_builtin:
|
||||
case parse_keyword_case:
|
||||
// All other keywords fall through to decorated statement
|
||||
default:
|
||||
return 4;
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user