diff options
author | Pierre Muller <muller@sourceware.org> | 2009-10-06 22:47:20 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2009-10-06 22:47:20 +0000 |
commit | 5aafa1cc49c9a87aeb3e0aeaede8155fdf9f1645 (patch) | |
tree | 449e45756480c97c211d7b2e57b9ee44daaaaefc /gdb/c-exp.y | |
parent | d6f22b989026083cc5dd9ae65226a424007078e9 (diff) | |
download | fsf-binutils-gdb-5aafa1cc49c9a87aeb3e0aeaede8155fdf9f1645.zip fsf-binutils-gdb-5aafa1cc49c9a87aeb3e0aeaede8155fdf9f1645.tar.gz fsf-binutils-gdb-5aafa1cc49c9a87aeb3e0aeaede8155fdf9f1645.tar.bz2 |
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.
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r-- | gdb/c-exp.y | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y index f5abacf..6d604c4 100644 --- a/gdb/c-exp.y +++ b/gdb/c-exp.y @@ -777,9 +777,9 @@ variable: name_not_typename { if (symbol_read_needs_frame (sym)) { - if (innermost_block == 0 || - contained_in (block_found, - innermost_block)) + if (innermost_block == 0 + || contained_in (block_found, + innermost_block)) innermost_block = block_found; } @@ -796,8 +796,9 @@ variable: name_not_typename /* C++: it hangs off of `this'. Must not inadvertently convert from a method call to data ref. */ - if (innermost_block == 0 || - contained_in (block_found, innermost_block)) + if (innermost_block == 0 + || contained_in (block_found, + innermost_block)) innermost_block = block_found; write_exp_elt_opcode (OP_THIS); write_exp_elt_opcode (OP_THIS); @@ -2174,9 +2175,9 @@ yylex (void) /* Input names that aren't symbols but ARE valid hex numbers, when the input radix permits them, can be names or numbers depending on the parse. Note we support radixes > 16 here. */ - if (!sym && - ((tokstart[0] >= 'a' && tokstart[0] < 'a' + input_radix - 10) || - (tokstart[0] >= 'A' && tokstart[0] < 'A' + input_radix - 10))) + if (!sym + && ((tokstart[0] >= 'a' && tokstart[0] < 'a' + input_radix - 10) + || (tokstart[0] >= 'A' && tokstart[0] < 'A' + input_radix - 10))) { YYSTYPE newlval; /* Its value is ignored. */ hextype = parse_number (tokstart, namelen, 0, &newlval); |