mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-23 08:31:16 -03:00
Reformat CPP files
This commit is contained in:
@@ -530,12 +530,10 @@ char_event_t inputter_t::readch(bool allow_commands) {
|
||||
case readline_cmd_t::func_or: {
|
||||
// If previous function has right status, we keep reading tokens
|
||||
if (evt.get_readline() == readline_cmd_t::func_and) {
|
||||
if (function_status_)
|
||||
return readch();
|
||||
if (function_status_) return readch();
|
||||
} else {
|
||||
assert(evt.get_readline() == readline_cmd_t::func_or);
|
||||
if (!function_status_)
|
||||
return readch();
|
||||
if (!function_status_) return readch();
|
||||
}
|
||||
// Else we flush remaining tokens
|
||||
do {
|
||||
|
||||
Reference in New Issue
Block a user