mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
parent
add0bd0538
commit
c6c0c9bfdf
1 changed files with 1 additions and 1 deletions
|
@ -397,7 +397,7 @@ parse_execution_result_t parse_execution_context_t::run_for_statement(
|
|||
}
|
||||
|
||||
if (!valid_var_name(for_var_name)) {
|
||||
report_error(var_name_node, L"invalid var name: %ls", for_var_name.c_str());
|
||||
report_error(var_name_node, BUILTIN_ERR_VARNAME, L"for", for_var_name.c_str());
|
||||
return parse_execution_errored;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue