mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-07 10:42:28 +02:00
commit bash-snap-20170620 snapshot
This commit is contained in:
@@ -416,8 +416,16 @@ inputunit: simple_list simple_list_terminator
|
||||
/* EOF after an error. Do ignoreeof or not. Really
|
||||
only interesting in non-interactive shells */
|
||||
global_command = (COMMAND *)NULL;
|
||||
last_command_exit_value = 1;
|
||||
handle_eof_input_unit ();
|
||||
YYACCEPT;
|
||||
if (interactive && parse_and_execute_level == 0)
|
||||
{
|
||||
YYACCEPT;
|
||||
}
|
||||
else
|
||||
{
|
||||
YYABORT;
|
||||
}
|
||||
}
|
||||
| yacc_EOF
|
||||
{
|
||||
@@ -5457,6 +5465,9 @@ history_delimiting_chars (line)
|
||||
return (" ");
|
||||
}
|
||||
|
||||
if (line_isblank (line))
|
||||
return ("");
|
||||
|
||||
return ("; ");
|
||||
}
|
||||
#endif /* HISTORY */
|
||||
|
||||
Reference in New Issue
Block a user