aboutsummaryrefslogtreecommitdiff
path: root/gcc/cplus-dem.c
diff options
context:
space:
mode:
authorMike Stump <mrs@gcc.gnu.org>1997-05-06 22:59:57 +0000
committerMike Stump <mrs@gcc.gnu.org>1997-05-06 22:59:57 +0000
commite3da301da35470986dd215f50086952bdb965c13 (patch)
tree9ed16f1465684c89cd2e6d3969753dc718b25ad2 /gcc/cplus-dem.c
parentc718078fad945f5ccfc00ed41b86a3da65a4dc55 (diff)
downloadgcc-e3da301da35470986dd215f50086952bdb965c13.zip
gcc-e3da301da35470986dd215f50086952bdb965c13.tar.gz
gcc-e3da301da35470986dd215f50086952bdb965c13.tar.bz2
reformat a little to match GNU coding standards.
From-SVN: r14023
Diffstat (limited to 'gcc/cplus-dem.c')
-rw-r--r--gcc/cplus-dem.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/cplus-dem.c b/gcc/cplus-dem.c
index f43f7c1..43aa8e1 100644
--- a/gcc/cplus-dem.c
+++ b/gcc/cplus-dem.c
@@ -1362,8 +1362,8 @@ demangle_prefix (work, mangled, declp)
success = 0;
}
}
- else if ((scan == *mangled) &&
- (isdigit (scan[2]) || (scan[2] == 'Q') || (scan[2] == 't')))
+ else if ((scan == *mangled)
+ && (isdigit (scan[2]) || (scan[2] == 'Q') || (scan[2] == 't')))
{
/* The ARM says nothing about the mangling of local variables.
But cfront mangles local variables by prepending __<nesting_level>
@@ -2349,15 +2349,15 @@ remember_type (work, start, len)
if (work -> typevec_size == 0)
{
work -> typevec_size = 3;
- work -> typevec =
- (char **) xmalloc (sizeof (char *) * work -> typevec_size);
+ work -> typevec
+ = (char **) xmalloc (sizeof (char *) * work -> typevec_size);
}
else
{
work -> typevec_size *= 2;
- work -> typevec =
- (char **) xrealloc ((char *)work -> typevec,
- sizeof (char *) * work -> typevec_size);
+ work -> typevec
+ = (char **) xrealloc ((char *)work -> typevec,
+ sizeof (char *) * work -> typevec_size);
}
}
tem = xmalloc (len + 1);