mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-24 14:01:15 -03:00
Rework decision process for whether to interpret keywords as structural
or as commands (for LL parser). Will allow 'builtin --' to parse as a plain statement, instead of a decorated statement '--'
This commit is contained in:
@@ -2004,6 +2004,7 @@ static void test_new_parser_ll2(void)
|
||||
{L"command", L"command", L"", parse_statement_decoration_none},
|
||||
{L"command -", L"command", L"-", parse_statement_decoration_none},
|
||||
{L"command --", L"command", L"--", parse_statement_decoration_none},
|
||||
{L"builtin --names", L"builtin", L"--names", parse_statement_decoration_none},
|
||||
{L"function", L"function", L"", parse_statement_decoration_none},
|
||||
{L"function --help", L"function", L"--help", parse_statement_decoration_none}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user