aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2014-03-10 14:45:26 +0100
committerJoel Brobecker <brobecker@adacore.com>2014-03-10 14:46:55 +0100
commit023db19c6b0dc1345631d708425a9cb694cafa92 (patch)
treed97675652ea40356b856ceac0af0b294248902df /gdb/ada-lang.c
parent8668be63cff2c8efe312e1d6a354fd8b69cd2d89 (diff)
downloadgdb-023db19c6b0dc1345631d708425a9cb694cafa92.zip
gdb-023db19c6b0dc1345631d708425a9cb694cafa92.tar.gz
gdb-023db19c6b0dc1345631d708425a9cb694cafa92.tar.bz2
Missing space before '(' in ada-lang.c::ada_evaluate_subexp
gdb/ChangeLog: * ada-lang.c (ada_evaluate_subexp): Add missing space before '(' in call to TYPE_CODE macro.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r--gdb/ada-lang.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index e36a64b..31aa380 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -10112,7 +10112,7 @@ ada_evaluate_subexp (struct type *expect_type, struct expression *exp,
The latter should be shown as usual (as a pointer), whereas
a reference should mostly be transparent to the user. */
if (ada_is_tagged_type (type, 0)
- || (TYPE_CODE(type) == TYPE_CODE_REF
+ || (TYPE_CODE (type) == TYPE_CODE_REF
&& ada_is_tagged_type (TYPE_TARGET_TYPE (type), 0)))
{
/* Tagged types are a little special in the fact that the real
@@ -10740,8 +10740,8 @@ ada_evaluate_subexp (struct type *expect_type, struct expression *exp,
This means that we need to evaluate completely the
expression in order to get its type. */
- if ((TYPE_CODE(type) == TYPE_CODE_REF
- || TYPE_CODE(type) == TYPE_CODE_PTR)
+ if ((TYPE_CODE (type) == TYPE_CODE_REF
+ || TYPE_CODE (type) == TYPE_CODE_PTR)
&& ada_is_tagged_type (TYPE_TARGET_TYPE (type), 0))
{
arg1 = evaluate_subexp (NULL_TYPE, exp, &preeval_pos,