mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-28 09:31:16 -03:00
Teach parser_t how to parse an argument list that contains newlines, for
complete -a support. Fixes #1369
This commit is contained in:
@@ -43,6 +43,10 @@ enum parse_token_type_t
|
||||
symbol_argument_or_redirection,
|
||||
|
||||
symbol_argument_list,
|
||||
|
||||
// "freestanding" argument lists are parsed from the argument list supplied to 'complete -a'
|
||||
// They are not generated by parse trees rooted in symbol_job_list
|
||||
symbol_freestanding_argument_list,
|
||||
|
||||
symbol_argument,
|
||||
symbol_redirection,
|
||||
@@ -50,7 +54,7 @@ enum parse_token_type_t
|
||||
symbol_optional_background,
|
||||
|
||||
symbol_end_command,
|
||||
|
||||
|
||||
// Terminal types
|
||||
parse_token_type_string,
|
||||
parse_token_type_pipe,
|
||||
|
||||
Reference in New Issue
Block a user