ARI fix: OP eol rule.
* blockframe.c (find_pc_partial_function): Avoid operator at end of line. * buildsym.c (find_symbol_in_list): Idem. (start_subfile, patch_subfile_names): Idem. * c-exp.y (variable, yylex): Idem. * c-typeprint.c (c_print_type, c_type_print_base): Idem. * c-valprint.c (c_val_print): Idem. * coffread.c (patch_opaque_types, process_coff_symbol): Idem. * corelow.c (core_open): Idem. * cris-tdep.c (move_reg_to_mem_movem_op): Idem. * cli/cli-decode.c (help_cmd_list, find_command_name_length): Idem.
This commit is contained in:
parent
d6f22b9890
commit
5aafa1cc49
10 changed files with 76 additions and 62 deletions
|
@ -1051,10 +1051,10 @@ help_cmd_list (struct cmd_list_element *list, enum command_class class,
|
|||
|
||||
for (c = list; c; c = c->next)
|
||||
{
|
||||
if (c->abbrev_flag == 0 &&
|
||||
(class == all_commands
|
||||
|| (class == all_classes && c->func == NULL)
|
||||
|| (class == c->class && c->func != NULL)))
|
||||
if (c->abbrev_flag == 0
|
||||
&& (class == all_commands
|
||||
|| (class == all_classes && c->func == NULL)
|
||||
|| (class == c->class && c->func != NULL)))
|
||||
{
|
||||
print_help_for_command (c, prefix, recurse, stream);
|
||||
}
|
||||
|
@ -1108,11 +1108,11 @@ find_command_name_length (const char *text)
|
|||
used as a suffix for print, examine and display.
|
||||
Note that this is larger than the character set allowed when creating
|
||||
user-defined commands. */
|
||||
while (isalnum (*p) || *p == '-' || *p == '_' ||
|
||||
while (isalnum (*p) || *p == '-' || *p == '_'
|
||||
/* Characters used by TUI specific commands. */
|
||||
*p == '+' || *p == '<' || *p == '>' || *p == '$' ||
|
||||
|| *p == '+' || *p == '<' || *p == '>' || *p == '$'
|
||||
/* Characters used for XDB compatibility. */
|
||||
(xdb_commands && (*p == '!' || *p == '/' || *p == '?')))
|
||||
|| (xdb_commands && (*p == '!' || *p == '/' || *p == '?')))
|
||||
p++;
|
||||
|
||||
return p - text;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue