mirror of git://gcc.gnu.org/git/gcc.git
* fixinc/fixfixes.c (emit_gnu_type): Avoid string concatenation.
From-SVN: r35059
This commit is contained in:
parent
f67798e710
commit
fd589a2a86
|
@ -1,3 +1,7 @@
|
|||
2000-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* fixinc/fixfixes.c (emit_gnu_type): Avoid string concatenation.
|
||||
|
||||
2000-07-16 Neil Booth <NeilB@earthling.net>
|
||||
|
||||
* cpplex.c: Update comments.
|
||||
|
|
|
@ -164,15 +164,17 @@ emit_gnu_type ( text, rm )
|
|||
/*
|
||||
* Now print out the reformed typedef
|
||||
*/
|
||||
printf ("#ifndef __%s_TYPE__\n"
|
||||
"#define __%s_TYPE__ %s\n"
|
||||
"#endif\n",
|
||||
printf ("\
|
||||
#ifndef __%s_TYPE__\n\
|
||||
#define __%s_TYPE__ %s\n\
|
||||
#endif\n",
|
||||
p_tm->pz_TYPE, p_tm->pz_TYPE, p_tm->pz_gtype );
|
||||
|
||||
printf ("#if !defined(_GCC_%s_T)%s\n"
|
||||
"#define _GCC_%s_T\n"
|
||||
"typedef __%s_TYPE__ %s_t;\n"
|
||||
"#endif\n",
|
||||
printf ("\
|
||||
#if !defined(_GCC_%s_T)%s\n\
|
||||
#define _GCC_%s_T\n\
|
||||
typedef __%s_TYPE__ %s_t;\n\
|
||||
#endif\n",
|
||||
p_tm->pz_TYPE, p_tm->pz_cxx_guard,
|
||||
p_tm->pz_TYPE, p_tm->pz_TYPE, p_tm->pz_type);
|
||||
|
||||
|
|
Loading…
Reference in New Issue