projects
/
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 f70867a9e5a12e0560f9d41adb7e103a6ce3c8af..1f80473116dac8e4d2c692da3eadf7265aa91171 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);