aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-exp.y
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2009-10-06 21:27:59 +0000
committerPierre Muller <muller@sourceware.org>2009-10-06 21:27:59 +0000
commitf8bf576366f8b023d1dc14fd0b44a4b103862874 (patch)
treec2a0ea410a82a10fd733169523d43b8bb5e9237a /gdb/ada-exp.y
parente99daf92c2ee344adf7c88920f50744ace6a5b22 (diff)
downloadgdb-f8bf576366f8b023d1dc14fd0b44a4b103862874.zip
gdb-f8bf576366f8b023d1dc14fd0b44a4b103862874.tar.gz
gdb-f8bf576366f8b023d1dc14fd0b44a4b103862874.tar.bz2
ARI fix: OP eol rule.
* ada-exp.y (block_lookup): Avoid operator at end of line. * aix-thread.c (pd_enable): Idem. * alpha-tdep.c (alpha_next_pc): Idem. * arm-tdep.c (arm_skip_prologue, arm_scan_prologue): Idem. (condition_true, coff_sym_is_thumb): Idem.
Diffstat (limited to 'gdb/ada-exp.y')
-rw-r--r--gdb/ada-exp.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y
index 1d3c619..7657cf0 100644
--- a/gdb/ada-exp.y
+++ b/gdb/ada-exp.y
@@ -1021,8 +1021,8 @@ block_lookup (struct block *context, char *raw_name)
name = ada_encode (raw_name);
nsyms = ada_lookup_symbol_list (name, context, VAR_DOMAIN, &syms);
- if (context == NULL &&
- (nsyms == 0 || SYMBOL_CLASS (syms[0].sym) != LOC_BLOCK))
+ if (context == NULL
+ && (nsyms == 0 || SYMBOL_CLASS (syms[0].sym) != LOC_BLOCK))
symtab = lookup_symtab (name);
else
symtab = NULL;