aboutsummaryrefslogtreecommitdiff
path: root/gdb/f-typeprint.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2009-10-06 23:27:05 +0000
committerPierre Muller <muller@sourceware.org>2009-10-06 23:27:05 +0000
commit905e0470f48bf087826c6779f0140f148e03c13a (patch)
tree1ace0c1caa8c0d2a06841dad8bcb108bdd802e2c /gdb/f-typeprint.c
parent364c7fa5c98a7e2d75fe33ecb1ec4f7260849731 (diff)
downloadgdb-905e0470f48bf087826c6779f0140f148e03c13a.zip
gdb-905e0470f48bf087826c6779f0140f148e03c13a.tar.gz
gdb-905e0470f48bf087826c6779f0140f148e03c13a.tar.bz2
ARI fix: OP eol rule.
* doublest.c (floatformat_from_length): Avoid operator at end of line. * dwarf2-frame.c (dwarf2_build_frame_info): Idem. * dwarf2read.c (read_array_order, dwarf_decode_macros): Idem. * eval.c (evaluate_subexp_standard): Idem. * event-loop.c (create_timer, handle_timer_event): Idem. * expprint.c (print_subexp_standard): Idem. * f-exp.y (variable): Idem. * f-typeprint.c (f_print_type): Idem.
Diffstat (limited to 'gdb/f-typeprint.c')
-rw-r--r--gdb/f-typeprint.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/gdb/f-typeprint.c b/gdb/f-typeprint.c
index 6c9668f..0fe1b4e 100644
--- a/gdb/f-typeprint.c
+++ b/gdb/f-typeprint.c
@@ -60,15 +60,13 @@ f_print_type (struct type *type, char *varstring, struct ui_file *stream,
f_type_print_base (type, stream, show, level);
code = TYPE_CODE (type);
if ((varstring != NULL && *varstring != '\0')
- ||
/* Need a space if going to print stars or brackets;
but not if we will print just a type name. */
- ((show > 0 || TYPE_NAME (type) == 0)
- &&
- (code == TYPE_CODE_PTR || code == TYPE_CODE_FUNC
- || code == TYPE_CODE_METHOD
- || code == TYPE_CODE_ARRAY
- || code == TYPE_CODE_REF)))
+ || ((show > 0 || TYPE_NAME (type) == 0)
+ && (code == TYPE_CODE_PTR || code == TYPE_CODE_FUNC
+ || code == TYPE_CODE_METHOD
+ || code == TYPE_CODE_ARRAY
+ || code == TYPE_CODE_REF)))
fputs_filtered (" ", stream);
f_type_print_varspec_prefix (type, stream, show, 0);