projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
182ed31
)
decl2.c (start_objects): Add new variable `joiner' and initialize it properly.
author
Manfred Hollstein
<manfred@gcc.gnu.org>
Sat, 10 Oct 1998 09:24:06 +0000
(09:24 +0000)
committer
Manfred Hollstein
<manfred@gcc.gnu.org>
Sat, 10 Oct 1998 09:24:06 +0000
(09:24 +0000)
8
* decl2.c (start_objects): Add new variable `joiner' and
initialize it properly.
From-SVN: r22975
gcc/cp/decl2.c
patch
|
blob
|
history
diff --git
a/gcc/cp/decl2.c
b/gcc/cp/decl2.c
index
f70867a
..
1f80473
100644
(file)
--- a/
gcc/cp/decl2.c
+++ b/
gcc/cp/decl2.c
@@
-2977,10
+2977,17
@@
start_objects (method_type, initp)
if (flag_init_priority)
{
+ char joiner;
+
+#ifdef JOINER
+ joiner = JOINER;
+#else
+ joiner = '_';
+#endif
if (initp == 0)
initp = DEFAULT_INIT_PRIORITY;
- sprintf (type, "%c%c%.5u", method_type,
JOINER
, initp);
+ sprintf (type, "%c%c%.5u", method_type,
joiner
, initp);
}
else
sprintf (type, "%c", method_type);