mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-29 00:19:51 +02:00
updated translations; minor change to DEBUG trap
This commit is contained in:
+6
-2
@@ -3055,7 +3055,6 @@ eval_arith_for_expr (l, okp)
|
||||
{
|
||||
if (echo_command_at_execute)
|
||||
xtrace_print_arith_cmd (new);
|
||||
this_command_name = "(("; /* )) for expression error messages */
|
||||
|
||||
command_string_index = 0;
|
||||
print_arith_command (new);
|
||||
@@ -3069,6 +3068,7 @@ eval_arith_for_expr (l, okp)
|
||||
/* In debugging mode, if the DEBUG trap returns a non-zero status, we
|
||||
skip the command. */
|
||||
eflag = (shell_compatibility_level > 51) ? 0 : EXP_EXPANDED;
|
||||
this_command_name = "(("; /* )) for expression error messages */
|
||||
|
||||
#if defined (DEBUGGER)
|
||||
if (debugging_mode == 0 || r == EXECUTION_SUCCESS)
|
||||
@@ -3423,6 +3423,8 @@ execute_select_command (select_command)
|
||||
return (EXECUTION_SUCCESS);
|
||||
#endif
|
||||
|
||||
this_command_name = (char *)0;
|
||||
|
||||
loop_level++;
|
||||
identifier = select_command->name->word;
|
||||
|
||||
@@ -3819,6 +3821,7 @@ execute_arith_command (arith_command)
|
||||
}
|
||||
#endif
|
||||
|
||||
this_command_name = "(("; /* )) */
|
||||
t = (char *)NULL;
|
||||
new = arith_command->exp;
|
||||
exp = (new->next) ? (t = string_list (new)) : new->word->word;
|
||||
@@ -4016,7 +4019,6 @@ execute_cond_command (cond_command)
|
||||
|
||||
save_line_number = line_number;
|
||||
|
||||
this_command_name = "[[";
|
||||
SET_LINE_NUMBER (cond_command->line);
|
||||
/* If we're in a function, update the line number information. */
|
||||
if (variable_context && interactive_shell && sourcelevel == 0)
|
||||
@@ -4048,6 +4050,8 @@ execute_cond_command (cond_command)
|
||||
}
|
||||
#endif
|
||||
|
||||
this_command_name = "[["; /* ]] */
|
||||
|
||||
#if 0
|
||||
debug_print_cond_command (cond_command);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user